Remove usage of ansicolors
Ansicolors has a bug that causes builds logs to be huge
(several hundreds MB). Issue occurs randomly. As a result
Jenkins master spends most of the time waiting for the log
files written to GlusterFS.
Link to upstream bug in plugin:
https://github.com/jenkinsci/ansicolor-plugin/issues/67
Change-Id: Ic9e4b56da37ecf22a0b798a6ca6c93d45c24d231
Closes-bug: PROD-13692
diff --git a/aptly-promote-pipeline.groovy b/aptly-promote-pipeline.groovy
index 7c1cd42..00d41b8 100644
--- a/aptly-promote-pipeline.groovy
+++ b/aptly-promote-pipeline.groovy
@@ -20,9 +20,7 @@
try{
stage("promote") {
lock("aptly-api") {
- wrap([$class: 'AnsiColorBuildWrapper']) {
- aptly.promotePublish(APTLY_URL, SOURCE, TARGET, RECREATE, components, packages, DIFF_ONLY)
- }
+ aptly.promotePublish(APTLY_URL, SOURCE, TARGET, RECREATE, components, packages, DIFF_ONLY)
}
}
} catch (Throwable e) {