Skip to content

Commit

Permalink
chore(Jenkinsfile) fix withEnv syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
dduportal committed Sep 24, 2024
1 parent 5b26913 commit 0a474a1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 0a474a1

Please sign in to comment.