commit | 68cba27c1ad61bdc9032e0c98242cd6902319ba2 | [log] [tgz] |
---|---|---|
author | vnaumov <vnaumov@mirantis.com> | Wed May 20 11:24:02 2020 +0200 |
committer | vnaumov <vnaumov@mirantis.com> | Wed May 20 11:24:02 2020 +0200 |
tree | 231ce3d5571dc2c0775c3ca5d5674f50e4e3119b | |
parent | 2da46c67c48e627435cf2174dbc3e30c49a16bb3 [diff] |
[fix][wf] manage success build result in wf scenario to avoid slack reporting null issues Change-Id: I90ffc04e9916923be3347998147b2323c0b46399 us: https://mirantis.jira.com/browse/PRODX-5084
diff --git a/src/com/mirantis/mk/Workflow.groovy b/src/com/mirantis/mk/Workflow.groovy index aa38c0c..7706859 100644 --- a/src/com/mirantis/mk/Workflow.groovy +++ b/src/com/mirantis/mk/Workflow.groovy
@@ -325,6 +325,8 @@ currentBuild.result = 'FAILURE' } println "Failed jobs: ${failed_jobs}" + } else { + currentBuild.result = 'SUCCESS' } if (slackReportChannel) {