Add escaping for parameters of app.py in updateReleaseMetadata
Change-Id: I06dd75dce18fcef1400b8b1c50f7f0cfcb2618f1
Related-Prod: PROD-31195
diff --git a/src/com/mirantis/mk/ReleaseWorkflow.groovy b/src/com/mirantis/mk/ReleaseWorkflow.groovy
index e944a66..063a843 100644
--- a/src/com/mirantis/mk/ReleaseWorkflow.groovy
+++ b/src/com/mirantis/mk/ReleaseWorkflow.groovy
@@ -70,7 +70,7 @@
ChangeId = ''
git.createGitBranch(repoDir, crTopic)
}
- cmdText = "python ${repoDir}/utils/app.py --path ${metadataDir} update --key ${key} --value ${value}"
+ cmdText = "python '${repoDir}/utils/app.py' --path '${metadataDir}' update --key '${key}' --value '${value}'"
python.runVirtualenvCommand(venvDir, cmdText)
commitMessage =
"""${comment}