commit | 00d789ef82cfc04ec9c7723633a8b46def57cc4e | [log] [tgz] |
---|---|---|
author | Richard Eckart de Castilho <rec@apache.org> | Mon May 30 11:06:11 2022 +0200 |
committer | Richard Eckart de Castilho <rec@apache.org> | Mon May 30 11:06:11 2022 +0200 |
tree | a5d806a9da5576d32bd44131b1be7d438e9d0dcc | |
parent | 9a248dc2adc9d81ba8ddf272babb83f624c9560c [diff] |
[UIMA-6457] Clean Jenkins workspace up after build - Clean only on success
diff --git a/vars/defaultPipeline.groovy b/vars/defaultPipeline.groovy index 8d77305..b5647b6 100644 --- a/vars/defaultPipeline.groovy +++ b/vars/defaultPipeline.groovy
@@ -161,7 +161,7 @@ } post { - always { + success { script { if (params.wipeWorkspaceAfterBuild) { echo "Wiping workspace..."