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 14:40:20 UTC
[brooklyn-server] branch master updated: Print DOCKER_TAG as sh step
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 <my...@cloudsoft.io>
AuthorDate: Mon Feb 21 14:39:14 2022 +0000
Print DOCKER_TAG as sh step
Signed-off-by: Mykola Mandra <my...@cloudsoft.io>
---
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}')
}