Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
Co-authored-by: lemeurherveCB <137290663+lemeurherveCB@users.noreply.github.com>
  • Loading branch information
dduportal and lemeurherveCB committed Sep 24, 2024
1 parent 0a474a1 commit 78382f5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ pipeline {
script {
def tagItems = env.TAG_NAME.split('-')
if(tagItems.length == 2) {
withEnv(["REMOTING_VERSION=${tagItems[0]}", "BUILD_NUMBER=${tagItems[1]}"]) {
withEnv([
"REMOTING_VERSION=${tagItems[0]}",
"BUILD_NUMBER=${tagItems[1]}",
]) {
// This function is defined in the jenkins-infra/pipeline-library
infra.withDockerCredentials {
if (isUnix()) {
Expand Down

0 comments on commit 78382f5

Please sign in to comment.