Skip to content

Commit

Permalink
remove Jenkins caching (#3594)
Browse files Browse the repository at this point in the history
  • Loading branch information
tersec authored Apr 14, 2022
1 parent 61ba308 commit bacc1ff
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,15 @@ def runStages(nodeDir) {
sh "git submodule update --init --recursive"
}

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

stage("Tools") {
Expand Down

0 comments on commit bacc1ff

Please sign in to comment.