Commit 7702cec9 authored by Raphael Defosseux's avatar Raphael Defosseux
parent 10b71a3d
Pipeline #10186 passed with stage
in 0 seconds
......@@ -10,10 +10,8 @@ def TERMINATE_STATUS
def sendSocialMediaMessage(pipeChannel, pipeMessage, pipeColor) {
if (params.pipelineUsesSlack != null) {
if (params.pipelineUsesSlack) {
//slackSend channel: ${pipeChannel}, color: ${pipeColor}, message: ${pipeMessage}
def colorCode = ${pipeColor}
def summary = "sending to slack with " + colorCode
echo summary
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