Skip to content

Commit c7837b2

Browse files
committed
Fix check for trailing linebreak in comparator error touch pipeline
And add a reference to that job in the RelEng JIPP in case of comparator errors.
1 parent 91ff024 commit c7837b2

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

JenkinsJobs/Builds/build.jenkinsfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,7 @@ pipeline {
602602
""" + (env.COMPARATOR_ERRORS_SUBJECT == '' ? '' : """
603603
Check unanticipated comparator messages:
604604
https://download.eclipse.org/eclipse/downloads/drops4/${BUILD_ID}/buildlogs/comparatorlogs/buildtimeComparatorUnanticipated.log.txt
605+
(Affected projects can be touched using the pipeline ${JENKINS_URL}/job/Releng/job/touchCompatorErrorProjects)
605606
""") + """
606607
Software site repository:
607608
https://download.eclipse.org/eclipse/updates/${RELEASE_VER}-${BUILD_TYPE}-builds

JenkinsJobs/Releng/touchCompatorErrorProjects.jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pipeline {
5252
fi
5353
# Ensure file terminates with a newline
5454
lastChar=\$(tail -c1 ${forceQualifierUpdateFile} | od -An -tx1)
55-
if [ ! "\${lastChar}" = "0a" ] && [ ! "\${lastChar}" = "0d" ]; then
55+
if [ ! \${lastChar} = "0a" ] && [ ! \${lastChar} = "0d" ]; then
5656
echo '' >> ${forceQualifierUpdateFile}
5757
fi
5858
echo '${message}' >> ${forceQualifierUpdateFile}

0 commit comments

Comments
 (0)