code review fix
Related-prod: PROD-31485
Change-Id: Ic69040c0c65d191c74184dcaf6cac59117ce5d6f
diff --git a/src/com/mirantis/mk/ReleaseWorkflow.groovy b/src/com/mirantis/mk/ReleaseWorkflow.groovy
index 5d54776..a4d1add 100644
--- a/src/com/mirantis/mk/ReleaseWorkflow.groovy
+++ b/src/com/mirantis/mk/ReleaseWorkflow.groovy
@@ -16,6 +16,7 @@
credentialsID = params['credentialsID'] ?: "mcp-ci-gerrit"
metadataRepoUrl = params['metadataRepoUrl'] ?: "ssh://mcp-ci-gerrit@gerrit.mcp.mirantis.net:29418/mcp/release-matadata"
metadataGerritBranch = params['metadataGerritBranch'] ?: "master"
+ comment = params['comment'] ?: ""
crTopic = params['crTopic'] ?: ""
def python = new com.mirantis.mk.Python()
def gerrit = new com.mirantis.mk.Gerrit()
@@ -71,7 +72,7 @@
cmdText = "python ${repoDir}/utils/app.py --path ${metadataDir} update --key ${key} --value ${value}"
python.runVirtualenvCommand(venvDir, cmdText)
commitMessage =
- """[oscore] Auto-update ${metadataProject}
+ """${comment}
|${ChangeId}
""".stripMargin()