Commit 4a164d45 authored by Raphael Defosseux's avatar Raphael Defosseux

correct order

Signed-off-by: Raphael Defosseux's avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 7702cec9
Pipeline #10187 passed with stage
in 0 seconds
......@@ -7,10 +7,9 @@ def TERMINATE_STATUS
// Abstraction function to send social media messages:
// like on Slack or Mattermost
def sendSocialMediaMessage(pipeChannel, pipeMessage, pipeColor) {
def sendSocialMediaMessage(pipeChannel, pipeColor, pipeMessage) {
if (params.pipelineUsesSlack != null) {
if (params.pipelineUsesSlack) {
def summary = "sending to slack with " + pipeColor
slackSend channel: pipeChannel, color: pipeColor, message: pipeMessage
}
}
......
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