Skip to content
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 1235a88 commit 9df4fc0f70c882b041f3b9bf89330b81c5946d96
Showing 1 changed file with 1 addition and 0 deletions.
@@ -39,6 +39,7 @@ node(label: 'ubuntu') {
stage('Prepare environment') {
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 for test environment ...'
environmentDockerImage ='brooklyn:${DOCKER_TAG}')

0 comments on commit 9df4fc0

Please sign in to comment.