Skip to content

Commit 187a01f

Browse files
Clement Vernajbtrystram
authored andcommitted
Fix the emojis for the build-node-image job
Use the same emojis as for the build job and use the Slack syntax for them. Also use the currentBuild.description which has the emojis in the message. Signed-off-by: Clement Verna <cverna@tutatnota.com>
1 parent 34038e8 commit 187a01f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jobs/build-node-image.Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,11 @@ lock(resource: "build-node-image") {
167167
throw e
168168
} finally {
169169
if (currentBuild.result == 'SUCCESS') {
170-
currentBuild.description = "${build_description}"
170+
currentBuild.description = ":sparkles: ${build_description}"
171171
} else {
172-
currentBuild.description = "${build_description}"
172+
currentBuild.description = ":fire: ${build_description}"
173173
}
174-
message = ":openshift: build-node-image #${env.BUILD_NUMBER} <${env.BUILD_URL}|:jenkins:> <${env.RUN_DISPLAY_URL}|:ocean:> ${build_description}"
174+
message = ":openshift: build-node-image #${env.BUILD_NUMBER} <${env.BUILD_URL}|:jenkins:> <${env.RUN_DISPLAY_URL}|:ocean:> ${currentBuild.description}"
175175
pipeutils.trySlackSend(message: message)
176176
}
177177
}}} // cosaPod, timeout, and lock finish here

0 commit comments

Comments
 (0)