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

better placement?

Signed-off-by: Raphael Defosseux's avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 6528f910
Pipeline #10183 passed with stage
in 0 seconds
......@@ -5,6 +5,16 @@
// copyright oai
def TERMINATE_STATUS
// Abstraction function to send social media messages:
// like on Slack or Mattermost
def sendSocialMediaMessage(pipeChannel, pipeMessage, pipeColor) {
if (params.pipelineUsesSlack != null) {
if (params.pipelineUsesSlack) {
slackSend channel: ${pipeChannel}, color: ${pipeColor}, message: ${pipeMessage}
}
}
}
pipeline {
agent {
label 'bellatrix'
......@@ -122,12 +132,3 @@ pipeline {
}
}
// Abstraction function to send social media messages:
// like on Slack or Mattermost
def sendSocialMediaMessage(pipeChannel, pipeMessage, pipeColor) {
if (params.pipelineUsesSlack != null) {
if (params.pipelineUsesSlack) {
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