Skip to content

Commit ce6e389

Browse files
committed
[RelEng] Move Maven staging behind build-update in release promotion
The Staging to Maven-Central is just triggering the Maven-deployment job and is therefore easier to do manually in case something fails before. It should therefore happen later, as it's also a stage that's not much tested in advance.
1 parent 6a892f0 commit ce6e389

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

JenkinsJobs/Releng/promoteBuild.jenkinsfile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -184,16 +184,6 @@ pipeline {
184184
}
185185
}
186186
}
187-
stage('Stage for Maven-Central') {
188-
when {
189-
environment name: 'DL_TYPE', value: 'R'
190-
}
191-
steps {
192-
build job: 'Releng/deployToMaven', wait: true, propagate: true, parameters: [
193-
string(name: 'sourceRepository', value: "https://download.eclipse.org/eclipse/updates/${BUILD_MAJOR}.${BUILD_MINOR}/${DL_DROP_ID}/")
194-
]
195-
}
196-
}
197187
stage('Update build configurations') {
198188
when {
199189
environment name: 'DL_TYPE', value: 'R'
@@ -296,6 +286,16 @@ pipeline {
296286
}
297287
}
298288
}
289+
stage('Stage to Maven-Central') {
290+
when {
291+
environment name: 'DL_TYPE', value: 'R'
292+
}
293+
steps {
294+
build job: 'Releng/deployToMaven', wait: true, propagate: true, parameters: [
295+
string(name: 'sourceRepository', value: "https://download.eclipse.org/eclipse/updates/${BUILD_MAJOR}.${BUILD_MINOR}/${DL_DROP_ID}/")
296+
]
297+
}
298+
}
299299
stage('Update acknowledgements') {
300300
environment {
301301
GITHUB_BOT_TOKEN = credentials('github-bot-token')

0 commit comments

Comments
 (0)