remove Jenkins caching (#3594)

This commit is contained in:
tersec 2022-04-14 15:56:05 +00:00 committed by GitHub
parent 61ba308e13
commit bacc1ff8ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 13 deletions

22
Jenkinsfile vendored
View File

@ -20,19 +20,15 @@ def runStages(nodeDir) {
sh "git submodule update --init --recursive" sh "git submodule update --init --recursive"
} }
cache(maxCacheSize: 250, caches: [ stage("Preparations") {
[$class: "ArbitraryFileCache", excludes: "", includes: "**/*", path: "${WORKSPACE}/${nodeDir}/jsonTestsCache"] sh """#!/bin/bash
]) { set -e
stage("Preparations") { # macOS shows scary warnings if there are old libraries and object files laying around
sh """#!/bin/bash make clean
set -e # to allow the following parallel stages
# macOS shows scary warnings if there are old libraries and object files laying around make -j${env.NPROC} QUICK_AND_DIRTY_COMPILER=1 update
make clean ./scripts/setup_scenarios.sh
# to allow the following parallel stages """
make -j${env.NPROC} QUICK_AND_DIRTY_COMPILER=1 update
./scripts/setup_scenarios.sh jsonTestsCache
"""
}
} }
stage("Tools") { stage("Tools") {