From 1d5c60567daaf8baf2b9a41110e070564ab0ef03 Mon Sep 17 00:00:00 2001 From: smerle33 Date: Mon, 7 Aug 2023 11:33:21 +0200 Subject: [PATCH] add checkout for new nodes for final stage --- vars/buildDockerAndPublishImage.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/vars/buildDockerAndPublishImage.groovy b/vars/buildDockerAndPublishImage.groovy index 85bc167df..ec438ca4f 100644 --- a/vars/buildDockerAndPublishImage.groovy +++ b/vars/buildDockerAndPublishImage.groovy @@ -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()) {