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

fix in slack notifications

adding an error to test
Signed-off-by: Raphael Defosseux's avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent e807bcf1
Pipeline #8610 failed with stage
in 0 seconds
......@@ -62,25 +62,22 @@ pipeline {
}
success {
script {
def msg = "OAI build #" + BUILD_ID + " passed"
def message = "OAI build #" + BUILD_ID + " passed (" + BUILD_URL + ")"
if ("MERGE".equals(env.gitlabActionType)) {
echo "This is a MERGE event"
def message = "OAI build #" + BUILD_ID + " passed (" + BUILD_URL + ")"
echo "$message"
addGitLabMRComment comment: message
}
slackSend channel: 'sandbox', color: 'good', message: msg
slackSend channel: 'sandbox', color: 'good', message: message
}
}
failure {
script {
def msg = "OAI build #" + BUILD_ID + " failed"
def message = "OAI build #" + BUILD_ID + " failed (" + BUILD_URL + ")"
if ("MERGE".equals(env.gitlabActionType)) {
echo "This is a MERGE event"
def message = "OAI build #" + BUILD_ID + " failed (" + BUILD_URL + ")"
addGitLabMRComment comment: message
}
slackSend channel: 'sandbox', color: 'danger', message: msg
slackSend channel: 'sandbox', color: 'danger', message: message
}
}
}
......
......@@ -6,6 +6,7 @@
int main()
{
unsigned int testId = 1;
i = 0;
printf ("Test%d\n", testId);
#ifdef _DEBUG
char a[10];
......
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