Commit ab310917 authored by Raphael Defosseux's avatar Raphael Defosseux

adding back commit status for gitlab

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 76cecf93
......@@ -324,7 +324,13 @@ pipeline {
if ("MERGE".equals(env.gitlabActionType)) {
echo "This is a MERGE event"
} else {
echo "BUILD_STATUS = $BUILD_STATUS"
gitlabCommitStatus(name: "Test-gNB-nrUE") {
if ((currentBuild.result == null) || (currentBuild.result == 'SUCCESS')) {
echo "Setting the gitlab commit status to pass"
} else {
sh "./ci-scripts/fail.sh"
}
}
}
emailext attachmentsPattern: '*results*.html',
body: '''Hi,
......
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