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-client.git


The following commit(s) were added to refs/heads/master by this push:
     new 0cda01b  Use double quotes to resolve DOCKER_TAG
     new 8a89837  Merge pull request #94 from algairim/build/Jenkinsfile
0cda01b is described below

commit 0cda01b1dc104bd3059ddd4cfdc165a0c224d8b3
Author: Mykola Mandra <[email protected]>
AuthorDate: Mon Feb 21 15:21:00 2022 +0000

    Use double quotes to resolve DOCKER_TAG
    
    Signed-off-by: Mykola Mandra <[email protected]>
---
 Jenkinsfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 82142d8..5119a1b 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') {

Reply via email to