[$class: 'CloneOption',
honorRefspec: true,
noTags: true,
- depth: 10,
+ depth: 100,
shallow: true
],
[$class: 'PruneStaleBranch'],
[$class: 'RelativeTargetDirectory', relativeTargetDir: groupDir],
[$class: 'CloneOption',
noTags: true,
- depth: 10,
+ depth: 100,
honorRefspec: true,
shallow: true
],
}
post {
cleanup {
- cleanWs deleteDirs: true, notFailBuild: true
+ if (env.CLEANUP_WS_GATES.toBoolean()) {
+ cleanWs deleteDirs: true, notFailBuild: false
+ }
}
/*
* The Gerrit Trigger will automatically post the "Verified" results back
[$class: 'RelativeTargetDirectory', relativeTargetDir: "tests/CI/output/publish-docs"],
[$class: 'CloneOption',
noTags: true,
- depth: 10,
+ depth: 100,
honorRefspec: true,
shallow: true
],
[$class: 'RelativeTargetDirectory', relativeTargetDir: groupDir],
[$class: 'CloneOption',
noTags: true,
- depth: 10,
+ depth: 100,
honorRefspec: true,
shallow: true
],
}
post {
cleanup {
- cleanWs deleteDirs: true, notFailBuild: true
+ if (env.CLEANUP_WS_DAILIES.toBoolean()) {
+ cleanWs deleteDirs: true, notFailBuild: false
+ }
}
success {
echo "Reporting ${currentBuild.currentResult} Passed"
[$class: 'RelativeTargetDirectory', relativeTargetDir: groupDir],
[$class: 'CloneOption',
noTags: true,
- depth: 10,
+ depth: 100,
honorRefspec: true,
shallow: true
],
}
post {
cleanup {
- cleanWs deleteDirs: true, notFailBuild: true
+ if (env.CLEANUP_WS_REF_DEBUG.toBoolean()) {
+ cleanWs deleteDirs: true, notFailBuild: false
+ }
}
success {
echo "Reporting ${currentBuild.currentResult} Passed"
[$class: 'CloneOption',
honorRefspec: true,
noTags: true,
- depth: 10,
+ depth: 100,
shallow: true
],
[$class: 'PruneStaleBranch'],
}
post {
cleanup {
- cleanWs deleteDirs: true, notFailBuild: true
+ if (env.CLEANUP_WS_UNITTESTS.toBoolean()) {
+ cleanWs deleteDirs: true, notFailBuild: false
+ }
}
/*
* The Gerrit Trigger will automatically post the "Verified" results back