Skip to content
Permalink
Browse files
do a docker logout as part of jenkins build
    suggested this fixes problems with unauthorization
  • Loading branch information
ahgittin committed Sep 15, 2021
1 parent 8786592 commit 09a51f48a0fd66d92547f33a1a095f4c57f5ae2a
Showing 1 changed file with 1 addition and 0 deletions.
@@ -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}')
}

0 comments on commit 09a51f4

Please sign in to comment.