diff --git a/JenkinsJobs/Releng/promoteBuild.jenkinsfile b/JenkinsJobs/Releng/promoteBuild.jenkinsfile index 2431e449168..d97a459e924 100644 --- a/JenkinsJobs/Releng/promoteBuild.jenkinsfile +++ b/JenkinsJobs/Releng/promoteBuild.jenkinsfile @@ -184,16 +184,6 @@ pipeline { } } } - stage('Stage for Maven-Central') { - when { - environment name: 'DL_TYPE', value: 'R' - } - steps { - build job: 'Releng/deployToMaven', wait: true, propagate: true, parameters: [ - string(name: 'sourceRepository', value: "https://download.eclipse.org/eclipse/updates/${BUILD_MAJOR}.${BUILD_MINOR}/${DL_DROP_ID}/") - ] - } - } stage('Update build configurations') { when { environment name: 'DL_TYPE', value: 'R' @@ -296,6 +286,16 @@ pipeline { } } } + stage('Stage to Maven-Central') { + when { + environment name: 'DL_TYPE', value: 'R' + } + steps { + build job: 'Releng/deployToMaven', wait: true, propagate: true, parameters: [ + string(name: 'sourceRepository', value: "https://download.eclipse.org/eclipse/updates/${BUILD_MAJOR}.${BUILD_MINOR}/${DL_DROP_ID}/") + ] + } + } stage('Update acknowledgements') { environment { GITHUB_BOT_TOKEN = credentials('github-bot-token')