From fe12f151f89546b8ac7cdd1f4f66c72ad0a7f0d4 Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Thu, 2 Jan 2025 14:48:11 +0100 Subject: [PATCH] [Build] Fix invocation of 'PublishToMaven' job from I-build job Restore the previous (correct) definition of the 'snapshotOrRelease' parameter. Follow-up on - https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/pull/2718 --- JenkinsJobs/Builds/build.jenkinsfile | 2 +- JenkinsJobs/Releng/publishToMaven.jenkinsfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 {