We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a66d859 commit 72b0e92Copy full SHA for 72b0e92
Jenkinsfile
@@ -11,7 +11,6 @@ environment {
11
API_VERSION = 'v4' // used by docs - TODO can remove?
12
BUILD_ENV = "${(env.BRANCH_NAME != 'master') ? env.BRANCH_NAME : '' }"
13
// POST_TAG_COMMITS = "$post_tag_commits" - TODO can remove?
14
- BUILD_TAG = URLDecoder.decode(env.BUILD_TAG, "UTF-8").replaceAll("[^a-zA-Z0-9_.-]", "_")
15
}
16
17
node {
@@ -24,7 +23,8 @@ node {
24
23
25
26
stage('Build Docker') {
27
- image = docker.build(env.BUILD_TAG.toLowerCase(), '.')
+ BUILD_NAME = URLDecoder.decode(env.BUILD_TAG, "UTF-8").replaceAll("[^a-zA-Z0-9_.-]", "_")
+ image = docker.build(BUILD_NAME.toLowerCase(), '.')
28
29
30
stage ('Apply Environment') {
0 commit comments