Skip to content
Permalink
Browse files
Use double quotes to resolve DOCKER_TAG
Signed-off-by: Mykola Mandra <mykola.mandra@cloudsoft.io>
  • Loading branch information
algairim committed Feb 21, 2022
1 parent 317db3c commit 0cda01b1dc104bd3059ddd4cfdc165a0c224d8b3
Showing 1 changed file with 2 additions and 1 deletion.
@@ -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') {

0 comments on commit 0cda01b

Please sign in to comment.