Skip to content

Commit 7698433

Browse files
committed
[Build] Add Jenkins pipeline to improve release preparation automation
The script 'getPreviousRelease.sh' is not considered as it seems to be unused and is intended to be removed soon.
1 parent 5844121 commit 7698433

File tree

7 files changed

+349
-106
lines changed

7 files changed

+349
-106
lines changed

.github/workflows/README.MD

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ This repository contains some workflows that can be shared across all platform r
66

77
Check if there is currently a freeze period in place.
88

9-
## updateRelease.yml
10-
11-
Workflow that can be used to trigger an automatic update to the next release when a new milestone is created
12-
139
## checkMergeCommits.yml
1410

1511
Check if a PR contains unwanted merge commits.

.github/workflows/prepareRelease.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.

.github/workflows/updateRelease.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

JenkinsJobs/Releng/FOLDER.groovy

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,29 @@ Releases are published to <a href="https://repo1.maven.org/maven2/org/eclipse/">
5959
scriptPath('JenkinsJobs/Releng/publishToMaven.jenkinsfile')
6060
}
6161
}
62-
}
62+
}
63+
64+
pipelineJob('Releng/prepareNextDevCycle'){
65+
displayName('Prepare next Development Cycle')
66+
description('Perform all steps to prepare the next development cycle of Eclipse.')
67+
parameters {
68+
stringParam('NEXT_RELEASE_VERSION', null, 'Id of the prepared release, for example: 4.37')
69+
stringParam('PREVIOUS_RELEASE_CANDIDATE', null, 'Id of the current release-candiate for the previous release, for example: S-4.36RC1-202505231100')
70+
stringParam('M1_DATE', null, 'Milestone 1 end date in the format yyyy-mm-dd, for example: 2025-07-04')
71+
stringParam('M2_DATE', null, 'Milestone 2 end date in the format yyyy-mm-dd, for example: 2025-07-25')
72+
stringParam('M3_DATE', null, 'Milestone 3 end date in the format yyyy-mm-dd, for example: 2025-08-15')
73+
stringParam('RC1_DATE', null, 'Release-Candidate 1 end date in the format yyyy-mm-dd, for example: 2025-08-22')
74+
stringParam('RC2_DATE', null, 'Release-Candidate 2 end date in the format yyyy-mm-dd, for example: 2025-08-29')
75+
stringParam('GA_DATE', null, 'Final general availability release date in the format yyyy-mm-dd, for example: 2025-09-10')
76+
}
77+
definition {
78+
cpsScm {
79+
lightweight(true)
80+
scm {
81+
github('eclipse-platform/eclipse.platform.releng.aggregator', 'master')
82+
}
83+
scriptPath('JenkinsJobs/Releng/prepareNextDevCycle.jenkinsfile')
84+
}
85+
}
86+
}
87+

0 commit comments

Comments
 (0)