File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ pipeline {
8787 goReleaser() {
8888 // Ensure that tags are present so goreleaser can build the changelog from the last release.
8989 gitCmd(cmd : ' fetch' , args : ' --unshallow --tags' )
90- sh(label : ' goreleaser release' , script : ' goreleaser release' )
90+ sh(label : ' goreleaser release' , script : ' goreleaser release --debug ' )
9191 }
9292 }
9393 post {
@@ -122,10 +122,10 @@ def goReleaser(Closure body) {
122122 deleteDir()
123123 unstash ' source'
124124 dir(" ${ BASE_DIR} " ){
125- dockerLogin(secret : " ${ DOCKER_ELASTIC_SECRET} " , registry : " ${ DOCKER_REGISTRY} " )
126125 withGoEnv() {
127126 sh(
label :
' install goreleaser' ,
script :
' go install github.com/goreleaser/[email protected] ' )
128127 withCredentials([string(credentialsId : " ${ env.GITHUB_TOKEN_CREDENTIALS} " , variable : ' GITHUB_TOKEN' )]) {
128+ dockerLogin(secret : " ${ DOCKER_ELASTIC_SECRET} " , registry : " ${ DOCKER_REGISTRY} " )
129129 body()
130130 }
131131 }
You can’t perform that action at this time.
0 commit comments