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-library.git
The following commit(s) were added to refs/heads/master by this push:
new 3de5c16 Use double quotes to resolve DOCKER_TAG
new 943d0fa Merge pull request #189 from algairim/build/Jenkinsfile
3de5c16 is described below
commit 3de5c169a2ddae6a29df246585a2619a247c4443
Author: Mykola Mandra <[email protected]>
AuthorDate: Mon Feb 21 15:15:09 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 d10ad06..b27dc13 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') {