[refactor][core] change var names for job info
us: PRODX-5418
Change-Id: I11d384d81f8be1606a5b3dc0d38311c88e2a020a
diff --git a/src/com/mirantis/mk/KaasUtils.groovy b/src/com/mirantis/mk/KaasUtils.groovy
index 0a25b78..a2c3b79 100644
--- a/src/com/mirantis/mk/KaasUtils.groovy
+++ b/src/com/mirantis/mk/KaasUtils.groovy
@@ -221,13 +221,13 @@
jobs["kaas-core-openstack-patched-${component}"] = {
try {
common.infoMsg('Deploy: patched KaaS demo with Openstack provider')
- job_info = build job: "kaas-testing-core-openstack-workflow-${component}", parameters: parameters, wait: true
- def build_description = job_info.getDescription()
+ os_job_info = build job: "kaas-testing-core-openstack-workflow-${component}", parameters: parameters, wait: true
+ def build_description = os_job_info.getDescription()
if (build_description) {
currentBuild.description += build_description
}
} finally {
- def build_result = job_info.getResult()
+ def build_result = os_job_info.getResult()
common.infoMsg("Patched KaaS demo with Openstack provider finished with status: ${build_result}")
jobResults.add(build_result)
}
@@ -236,13 +236,13 @@
jobs["kaas-core-aws-patched-${component}"] = {
try {
common.infoMsg('Deploy: patched KaaS demo with AWS provider')
- job_info = build job: "kaas-testing-core-aws-workflow-${component}", parameters: parameters, wait: true
- def build_description = job_info.getDescription()
+ aws_job_info = build job: "kaas-testing-core-aws-workflow-${component}", parameters: parameters, wait: true
+ def build_description = aws_job_info.getDescription()
if (build_description) {
currentBuild.description += build_description
}
} finally {
- def build_result = job_info.getResult()
+ def build_result = aws_job_info.getResult()
common.infoMsg("Patched KaaS demo with AWS provider finished with status: ${build_result}")
jobResults.add(build_result)
}