Commit a1f6400f authored by Boris Djalal's avatar Boris Djalal

Change Slack channel.

Signed-off-by: default avatarBoris Djalal <boris.djalal@eurecom.fr>
parent 69912f4b
...@@ -368,9 +368,9 @@ OAI CI Team''', ...@@ -368,9 +368,9 @@ OAI CI Team''',
echo "This is a MERGE event" echo "This is a MERGE event"
addGitLabMRComment comment: message addGitLabMRComment comment: message
def message2 = "OAI " + JOB_NAME + " build (" + BUILD_ID + "): passed (" + BUILD_URL + ") -- MergeRequest #" + env.gitlabMergeRequestIid + " (" + env.gitlabMergeRequestTitle + ")" def message2 = "OAI " + JOB_NAME + " build (" + BUILD_ID + "): passed (" + BUILD_URL + ") -- MergeRequest #" + env.gitlabMergeRequestIid + " (" + env.gitlabMergeRequestTitle + ")"
sendSocialMediaMessage('ci-enb', 'good', message2) sendSocialMediaMessage('develop-nr', 'good', message2)
} else { } else {
sendSocialMediaMessage('ci-enb', 'good', message) sendSocialMediaMessage('develop-nr', 'good', message)
} }
} }
} }
...@@ -381,9 +381,9 @@ OAI CI Team''', ...@@ -381,9 +381,9 @@ OAI CI Team''',
echo "This is a MERGE event" echo "This is a MERGE event"
addGitLabMRComment comment: message addGitLabMRComment comment: message
def message2 = "OAI " + JOB_NAME + " build (" + BUILD_ID + "): failed (" + BUILD_URL + ") -- MergeRequest #" + env.gitlabMergeRequestIid + " (" + env.gitlabMergeRequestTitle + ")" def message2 = "OAI " + JOB_NAME + " build (" + BUILD_ID + "): failed (" + BUILD_URL + ") -- MergeRequest #" + env.gitlabMergeRequestIid + " (" + env.gitlabMergeRequestTitle + ")"
sendSocialMediaMessage('ci-enb', 'danger', message2) sendSocialMediaMessage('develop-nr', 'danger', message2)
} else { } else {
sendSocialMediaMessage('ci-enb', 'danger', message) sendSocialMediaMessage('develop-nr', 'danger', message)
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment