Skip to content

Commit

Permalink
Fix git checkout in release pipeline.
Browse files Browse the repository at this point in the history
Making sure the checked-out repo is not in state "detached head".

Signed-off-by: Carsten Lohmann <[email protected]>
  • Loading branch information
calohmn committed May 31, 2022
1 parent 06dcb87 commit 846ce70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jenkins/Hono-Release-Pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ spec:
checkout([$class : 'GitSCM',
branches : [[name: "${params.BRANCH}"]],
doGenerateSubmoduleConfigurations: false,
extensions : [[$class: 'LocalBranch', localBranch: "**"]],
userRemoteConfigs : [[credentialsId: 'github-bot-ssh', url: 'ssh://[email protected]/eclipse/hono.git']]])
}
}
Expand Down

0 comments on commit 846ce70

Please sign in to comment.