commit | 74c8cdd72a5c272415c1470f8a8f5aa2aff96a72 | [log] [tgz] |
---|---|---|
author | sgudz <sgudz@mirantis.com> | Thu Jan 23 14:26:32 2020 +0200 |
committer | sgudz <sgudz@mirantis.com> | Thu Jan 23 14:27:27 2020 +0200 |
tree | 536c5e453cfdc5b2c76855c07c0c3a36c6eeb6e5 | |
parent | 1c1de5402fbadf84ad823d55384f9f9bfa6f41f0 [diff] |
Fix jobs statuses extraction (working with map instead of list) PRODX-00000 Change-Id: Id01eb2758df810b525f2a60b56e679ce03f2dff4
diff --git a/src/com/mirantis/mk/Workflow.groovy b/src/com/mirantis/mk/Workflow.groovy index c127625..681d204 100644 --- a/src/com/mirantis/mk/Workflow.groovy +++ b/src/com/mirantis/mk/Workflow.groovy
@@ -235,7 +235,7 @@ if (failed_jobs) { statuses = [] failed_jobs.each { - statuses += it.split(":").last() + statuses += it.value } if (statuses.contains('FAILURE')) { currentBuild.result = 'FAILURE'