Skip to content

Commit a66d859

Browse files
committed
Properly format BUILD_TAG to create dockers
1 parent c31c3e3 commit a66d859

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Jenkinsfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ environment {
1111
API_VERSION = 'v4' // used by docs - TODO can remove?
1212
BUILD_ENV = "${(env.BRANCH_NAME != 'master') ? env.BRANCH_NAME : '' }"
1313
// POST_TAG_COMMITS = "$post_tag_commits" - TODO can remove?
14+
BUILD_TAG = URLDecoder.decode(env.BUILD_TAG, "UTF-8").replaceAll("[^a-zA-Z0-9_.-]", "_")
1415
}
1516

1617
node {

0 commit comments

Comments
 (0)