Skip to content

Commit 3fe6755

Browse files
committed
[RelEng] Support individual updates in release preparation pipeline
Introduce the possibility to perform custom changes in each sub-module to prepare it for a new development cycle. Projects that require additional custom changes can implement them in a script named exactly 'prepareNextDevCycle.sh'.
1 parent abd5d85 commit 3fe6755

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

JenkinsJobs/Releng/prepareNextDevCycle.jenkinsfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,16 @@ pipeline {
152152
commitAllChangesExcludingSubmodules("Move previous version to ${PREVIOUS_RELEASE_CANDIDATE_TAG} in build scripts")
153153
}
154154
}
155+
stage('Apply individual updates') {
156+
environment {
157+
UPDATE_SCRIPT = 'prepareNextDevCycle.sh'
158+
}
159+
steps {
160+
sh '''
161+
git submodule foreach 'if [ -f ${UPDATE_SCRIPT} ]; then chmod +x ./${UPDATE_SCRIPT} && ./${UPDATE_SCRIPT}; fi'
162+
'''
163+
}
164+
}
155165
stage('Validate and list changes') {
156166
steps {
157167
sh '''

RELEASE.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,6 @@ Previously they were created in ther own job:
184184
- Running the [`Prepare Next Development Cycle`](https://ci.eclipse.org/releng/job/Releng/job/prepareNextDevCycle/) job will update pom and product versions for the Eclipse repositories and submit pull requests for the changes.
185185
This is still a work in progress so if there are any issues or a repo gets missed you can fall back to the old process below:
186186
Once that's done it's easiest to just grep for the previous release version or stream number to find the remaining instances that need to be updated, then commit the changes in a new branch for each repo.
187-
- **Update version number in mac's Eclipse.app**
188-
- In [eclipse-equinox/equinox](https://github.com/eclipse-equinox/equinox) update the versions in the Info.plist for both architectures under `eclipse-equinox/equinox/features/org.eclipse.equinox.executable.feature/bin/cocoa/macosx`
189187
- **Update comparator repo and eclipse run repo**
190188
- Update the ECLIPSE_RUN_REPO in the [cje-production](cje-production) buildproperties.txt files
191189
- **Set Previous Version to RC2**

scripts/newReleasePrep.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ BODY="This preparation work involves the following tasks. For previous bug pleas
3131
- - [ ] Update "Brances" in JobDSL.json to move ${PREV_MAJOR}.${PREV_MINOR}-I builds to R${PREV_MAJOR}_${PREV_MINOR}_maintenance branch
3232
- - [ ] Add R${PREV_MAJOR}_${PREV_MINOR}_maintenance branch to parent pom and target sdk deployment jobs
3333
- - [ ] Update I-build triggers with dates for ${NEXT_STREAM} milestone
34-
- [ ] Configure SWT build scripts for ${NEXT_STREAM}
3534
- [ ] Splash Screen for ${NEXT_STREAM} (${NEXT_TRAIN})
3635
- [ ] Create ${NEXT_STREAM}-I-builds repo
3736
- [ ] Run [`Prepare Next Development Cycle`](https://ci.eclipse.org/releng/job/Releng/job/prepareNextDevCycle/) job and submit the created changes

0 commit comments

Comments
 (0)