diff --git a/JenkinsJobs/Builds/build.jenkinsfile b/JenkinsJobs/Builds/build.jenkinsfile index c9e00e44238..bf48b38dcfa 100644 --- a/JenkinsJobs/Builds/build.jenkinsfile +++ b/JenkinsJobs/Builds/build.jenkinsfile @@ -373,7 +373,7 @@ spec: } } steps { - build job: 'Releng/PublishToMaven', parameters: [choice(name: 'snapshotOrRelease', value: 'snapshot')], wait: false + build job: 'Releng/PublishToMaven', parameters: [string(name: 'snapshotOrRelease', value: '-snapshot')], wait: false } } } diff --git a/JenkinsJobs/Releng/publishToMaven.jenkinsfile b/JenkinsJobs/Releng/publishToMaven.jenkinsfile index a0e0d006546..176c0937373 100644 --- a/JenkinsJobs/Releng/publishToMaven.jenkinsfile +++ b/JenkinsJobs/Releng/publishToMaven.jenkinsfile @@ -15,6 +15,7 @@ pipeline { environment { REPO = "${WORKSPACE}/repo-${BUILD_NUMBER}" } + // parameters declared in the definition of the invoking job stages { stage('Aggregate Maven repository') { steps {