Making Ws cleanup optional
parent
f527d33a0f
commit
89491cdf06
|
@ -25,6 +25,9 @@ pipeline {
|
|||
stages {
|
||||
stage('Workspace cleanup (pre-build)') {
|
||||
steps {
|
||||
when {
|
||||
expression { return params.REUSE_PREV_FS == false }
|
||||
}
|
||||
// Equivalente al PreBuildCleanup del plugin ws-cleanup
|
||||
cleanWs()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue