From 0a474a1ee0fcd655d618a8b9c197dae8dc66a0ca Mon Sep 17 00:00:00 2001 From: Damien Duportal Date: Tue, 24 Sep 2024 18:49:13 +0200 Subject: [PATCH] chore(Jenkinsfile) fix `withEnv` syntax error --- Jenkinsfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9cc03d3be..d67f56196 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -81,10 +81,7 @@ 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()) {