We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99b4966 commit ba05cb1Copy full SHA for ba05cb1
1 file changed
build-aux/Jenkinsfile
@@ -498,7 +498,6 @@ pipeline {
498
}
499
500
stages {
501
-
502
stage('Setup Env') {
503
agent {
504
docker {
@@ -612,13 +611,21 @@ pipeline {
612
611
613
614
steps {
615
- sh '''
616
- rm -rf apache-couchdb-*
617
- ./configure --skip-deps --spidermonkey-version 78
618
- make erlfmt-check
619
- make elixir-source-checks
620
- make python-black
621
- '''
+ cache(
+ maxCacheSize: 250,
+ defaultBranch: 'main',
+ cacheValidityDecidingFile: 'mix.exs',
+ caches: [
+ arbitraryFileCache(path: '_build', compressionMethod" 'TAR')
+ ]) {
+ sh '''
622
+ rm -rf apache-couchdb-*
623
+ ./configure --skip-deps --spidermonkey-version 78
624
+ make erlfmt-check
625
+ make elixir-source-checks
626
+ make python-black
627
+ '''
628
+ }
629
630
post {
631
cleanup {
0 commit comments