Skip to content

Commit

Permalink
add checkout for new nodes for final stage
Browse files Browse the repository at this point in the history
  • Loading branch information
smerle33 committed Aug 7, 2023
1 parent 8762547 commit 1d5c605
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vars/buildDockerAndPublishImage.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ def call(String imageShortName, Map userConfig=[:]) {
if (flagmultiplatforms) {
node(finalConfig.agentLabels) {
stage("Multiplatform Semantic Release of ${defaultImageName}") {
checkout scm
echo "Configuring credential.helper"
// The credential.helper will execute everything after the '!', here echoing the username, the password and an empty line to be passed to git as credentials when git needs it.
if (isUnix()) {
Expand Down

0 comments on commit 1d5c605

Please sign in to comment.