Skip to content
Permalink
Browse files
Merge pull request #94 from algairim/build/Jenkinsfile
Use double quotes to resolve DOCKER_TAG
  • Loading branch information
iuliana committed Feb 21, 2022
2 parents 317db3c + 0cda01b commit 8a89837bbab07e0a73c0928924d7972f24ab27d4
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 8a89837

Please sign in to comment.