commit | 86b89536beb7da0e5fc4192cef79760e677e13c5 | [log] [tgz] |
---|---|---|
author | mcp-jenkins <mcp-jenkins@mirantis.com> | Mon Oct 29 11:44:56 2018 +0000 |
committer | Gerrit Code Review <mail@domain.com> | Mon Oct 29 11:44:56 2018 +0000 |
tree | d0088d78a7ffe39d2eead8d6b2c55e28ed3f052d | |
parent | d209f7c22bf73e6667f3dde5318248a5c625afac [diff] | |
parent | 7fd23f244aa44e600e6d679d07a96bf98725d86e [diff] |
Merge "cloud deploy: remove ZWSP from STACK_NAME"
diff --git a/cloud-deploy-pipeline.groovy b/cloud-deploy-pipeline.groovy index a51f436..1f7dd1f 100644 --- a/cloud-deploy-pipeline.groovy +++ b/cloud-deploy-pipeline.groovy
@@ -143,6 +143,10 @@ } currentBuild.description = STACK_NAME } + } else { + // In case name was copied with unicode zero-width space chars - + // remove them + STACK_NAME = STACK_NAME.trim().replaceAll("\\p{C}", "") } // no underscore in STACK_NAME