This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-server.git

commit 397d3ac4a0b278f6c1ff09fa584d9335cbd69d26
Author: Alex Heneveld <[email protected]>
AuthorDate: Wed Sep 15 15:29:57 2021 +0100

    do a docker logout as part of jenkins build
    
        suggested this fixes problems with unauthorization
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 4abda15..d10ad06 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -39,8 +39,8 @@ node(label: 'ubuntu') {
             stage('Prepare environment') {
                 echo 'Creating maven cache ...'
                 sh 'mkdir -p ${WORKSPACE}/.m2'
-                echo 'Building docker image for test environment ...'
                 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}')
             }
 

Reply via email to