You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: JenkinsJobs/Releng/promoteBuild.jenkinsfile
+37-43Lines changed: 37 additions & 43 deletions
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,14 @@ pipeline {
21
21
The name (or, build id) of the build to promote. Typically would be a value such as 'I20250714-1800'.
22
22
It must match the name of the build on the build machine.
23
23
''')
24
-
string(name: 'CHECKPOINT', trim: true, description: 'M1, M3, RC1, RC2, RC3 etc (blank for final releases).')
25
-
string(name: 'SIGNOFF_BUG', trim: true, description: 'The issue that was used to "signoff" the checkpoint. If there are no unit test failures, this can be left blank. Otherwise a link is added to test page explaining that "failing unit tests have been investigated".')
24
+
string(name: 'CHECKPOINT', trim: true, description: 'M1, M2, M3, RC1, RC2, RC2a etc. (blank for final releases).')
The issue that was used to "signoff" this checkpoint.
27
+
The value is the number of the corresponding GitHub issue of the <a href="https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/issues">eclipse-platform/eclipse.platform.releng.aggregator</a> repository.
28
+
<br>
29
+
If there are no unit test failures, this can be left blank.
30
+
Otherwise a link is added to test page explaining that "failing unit tests have been investigated".
31
+
''')
26
32
}
27
33
agent {
28
34
label 'basic'
@@ -43,7 +49,7 @@ pipeline {
43
49
echo "DRY_RUN: ${DRY_RUN}"
44
50
echo "DROP_ID: ${DROP_ID}"
45
51
echo "CHECKPOINT: ${CHECKPOINT}"
46
-
echo "SIGNOFF_BUG: ${SIGNOFF_BUG}"
52
+
echo "SIGNOFF_ISSUE: ${SIGNOFF_ISSUE}"
47
53
def idMatcher = null
48
54
if ((idMatcher = "${DROP_ID}" =~ /I(?<date>\d{8})-(?<time>\d{4})/).matches()) {
# SIGNOFF_BUG should not be defined if there are no JUnit failures to investigate and explain
149
-
if [[ -n "${SIGNOFF_BUG}" ]]; then
150
-
echo -e "<p>Any unit test failures below have been investigated and found to be test-related and do not affect the quality of the build.\\nSee the <a href=\\"${SIGNOFF_BUG}\\">sign-off page</a> for details.</p>" > 'testNotes.html'
signOffSection.innerHTML=`Any unit test failures below have been investigated and found to be test-related and to not affect the quality of the build.<br>
158
+
For details, see <a href="${build.signOffIssue}">${signOffLabel}</a>.`
0 commit comments