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


The following commit(s) were added to refs/heads/master by this push:
     new 098a185  Print DOCKER_TAG as sh step
     new 19f189f  Merge pull request #1304 from algairim/build/Jenkinsfile
098a185 is described below

commit 098a185709a0b24ce45bd258020f3122af1585b8
Author: Mykola Mandra <[email protected]>
AuthorDate: Mon Feb 21 14:39:14 2022 +0000

    Print DOCKER_TAG as sh step
    
    Signed-off-by: Mykola Mandra <[email protected]>
---
 Jenkinsfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 4886f08..7e04426 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -40,7 +40,8 @@ node(label: 'ubuntu') {
                 echo 'Creating maven cache ...'
                 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 with tag ${DOCKER_TAG} for test 
environment ...'
+                sh 'echo DOCKER_TAG=${DOCKER_TAG}'
+                echo 'Building docker image for test environment ...'
                 environmentDockerImage = docker.build('brooklyn:${DOCKER_TAG}')
             }
 

Reply via email to