rework docker-image gerrit messages
Change-Id: I5e389e79419e6aeb36ee2c9a99db077a52e80487 Reviewed-on: https://gerrit.instructure.com/189016 Tested-by: Jenkins Reviewed-by: Robert Lamb <rlamb@instructure.com> QA-Review: Derek Bender <djbender@instructure.com> Product-Review: Derek Bender <djbender@instructure.com>
This commit is contained in:
parent
ca9aa403e5
commit
c9b4eecc7e
|
@ -88,7 +88,7 @@ pipeline {
|
|||
/* send message to gerrit */
|
||||
withGerritCredentials({ ->
|
||||
sh '''
|
||||
gerrit_message="Gerrit Builder Started $JOB_BASE_NAME: canvas-lms:$NAME\n$BUILD_URL"
|
||||
gerrit_message="\u2615 $JOB_BASE_NAME build started.\nTag: canvas-lms:$NAME\n$BUILD_URL"
|
||||
ssh -i "$SSH_KEY_PATH" -l "$SSH_USERNAME" -p $GERRIT_PORT \
|
||||
hudson@$GERRIT_HOST gerrit review -m "'$gerrit_message'" $GERRIT_CHANGE_NUMBER,$GERRIT_PATCHSET_NUMBER
|
||||
'''
|
||||
|
@ -167,7 +167,7 @@ pipeline {
|
|||
script {
|
||||
withGerritCredentials({ ->
|
||||
sh '''
|
||||
gerrit_message="Gerrit Builder $JOB_BASE_NAME Successful.\nTag: $PATCHSET_TAG\nBuild: $BUILD_URL"
|
||||
gerrit_message="\u2713 $JOB_BASE_NAME build successful.\nTag: canvas-lms:$NAME\n$BUILD_URL"
|
||||
ssh -i "$SSH_KEY_PATH" -l "$SSH_USERNAME" -p $GERRIT_PORT \
|
||||
hudson@$GERRIT_HOST gerrit review -m "'$gerrit_message'" $GERRIT_CHANGE_NUMBER,$GERRIT_PATCHSET_NUMBER
|
||||
'''
|
||||
|
@ -179,7 +179,7 @@ pipeline {
|
|||
script {
|
||||
withGerritCredentials({ ->
|
||||
sh '''
|
||||
gerrit_message="Gerrit Builder $JOB_BASE_NAME: canvas-lms:$NAME Failed.\n$BUILD_URL
|
||||
gerrit_message="\u274C $JOB_BASE_NAME build failed.\nTag: canvas-lms:$NAME\n$BUILD_URL"
|
||||
ssh -i "$SSH_KEY_PATH" -l "$SSH_USERNAME" -p $GERRIT_PORT \
|
||||
hudson@$GERRIT_HOST gerrit review -m "'$gerrit_message'" $GERRIT_CHANGE_NUMBER,$GERRIT_PATCHSET_NUMBER
|
||||
'''
|
||||
|
|
Loading…
Reference in New Issue