You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2021/09/15 14:24:56 UTC

[brooklyn] branch master updated: do a docker logout as part of jenkins build

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


The following commit(s) were added to refs/heads/master by this push:
     new 09a51f4  do a docker logout as part of jenkins build
     new 7fdccd2  Merge remote-tracking branch 'apache-git/master'
09a51f4 is described below

commit 09a51f48a0fd66d92547f33a1a095f4c57f5ae2a
Author: Alex Heneveld <al...@cloudsoftcorp.com>
AuthorDate: Wed Sep 15 15:22:53 2021 +0100

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

diff --git a/Jenkinsfile b/Jenkinsfile
index dda0fb4..b3754ed 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -48,6 +48,7 @@ node(label: 'ubuntu') {
                 sh 'mkdir -p ${WORKSPACE}/.m2'
                 sh 'git submodule init'
                 sh 'git submodule update --remote --merge --recursive'
+                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}')
             }