[fix][core] remove var definitions from finally block
us: PRODX-5418
Change-Id: I75174752126ddfff1f8297b77c824f319bb7c41c
diff --git a/src/com/mirantis/mk/KaasUtils.groovy b/src/com/mirantis/mk/KaasUtils.groovy
index 7291c88..2109dcd 100644
--- a/src/com/mirantis/mk/KaasUtils.groovy
+++ b/src/com/mirantis/mk/KaasUtils.groovy
@@ -230,7 +230,7 @@
currentBuild.description += build_description
}
} finally {
- common.infoMsg("Patched KaaS demo with Openstack provider finished with status: ${build_result}")
+ common.infoMsg('Patched KaaS demo with Openstack provider finished')
}
}
if (triggers.awsOnDemandDemoEnabled) {
@@ -246,7 +246,7 @@
currentBuild.description += build_description
}
} finally {
- common.infoMsg("Patched KaaS demo with AWS provider finished with status: ${build_result}")
+ common.infoMsg('Patched KaaS demo with AWS provider finished')
}
}
}