You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by iu...@apache.org on 2022/02/21 15:14:37 UTC
[brooklyn-ui] branch master updated: Use double quotes to resove DOCKER_TAG
This is an automated email from the ASF dual-hosted git repository.
iuliana pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git
The following commit(s) were added to refs/heads/master by this push:
new 7f1c3e3 Use double quotes to resove DOCKER_TAG
new e1bb491 Merge pull request #315 from algairim/build/Jenkinsfile
7f1c3e3 is described below
commit 7f1c3e3aacc808694b5164ffdb011be6e3f12860
Author: Mykola Mandra <my...@cloudsoft.io>
AuthorDate: Mon Feb 21 15:12:49 2022 +0000
Use double quotes to resove DOCKER_TAG
Signed-off-by: Mykola Mandra <my...@cloudsoft.io>
---
Jenkinsfile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index d10ad06..b27dc13 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -41,7 +41,8 @@ node(label: 'ubuntu') {
sh 'mkdir -p ${WORKSPACE}/.m2'
sh 'docker logout' // needed because sometimes cached credentials break the following step (creds aren't needed)
echo 'Building docker image for test environment ...'
- environmentDockerImage = docker.build('brooklyn:${DOCKER_TAG}')
+ echo "Using docker tag DOCKER_TAG=${DOCKER_TAG}" // double quotes to resolve env vars
+ environmentDockerImage = docker.build("brooklyn:${DOCKER_TAG}") // double quotes to resolve env vars
}
stage('Run tests') {