Skip to content

Commit

Permalink
[CLEANUP] Fix wrong parameter for cache cleaning
Browse files Browse the repository at this point in the history
Tidy up some param description text a bit too.
  • Loading branch information
lgrill-pentaho committed Mar 21, 2018
1 parent 294c7bc commit 706f678
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pipeline {
booleanParam(defaultValue: true, description: 'Archive the artifacts', name: 'ARCHIVE_ARTIFACTS')
booleanParam(defaultValue: false, description: 'No op build (test the build config)', name: 'NOOP')
booleanParam(defaultValue: false, description: 'Distributes source checkouts on remote nodes ' +
'(otherwise assume workspace is shared on all', name: 'USE_DISTRIBUTED_SOURCE_CACHING')
'(Otherwise assume workspace is shared on all). Not yet fully implmented--do not use.', name: 'USE_DISTRIBUTED_SOURCE_CACHING')
}

environment {
Expand All @@ -60,15 +60,15 @@ pipeline {
}
steps {
dir( "${LIB_CACHE_ROOT_PATH}" ) {
println "Add cross-platform custom removal method here"
println "Add cross-platform custom removal method here--implement me!"
}
}
}

stage('Clean Caches') {
when {
expression {
return params.CLEAN_DEPENDENCY_CACHES
return params.CLEAN_ALL_CACHES
}
}
steps {
Expand Down

0 comments on commit 706f678

Please sign in to comment.