Commit a512680d authored by Raphael Defosseux's avatar Raphael Defosseux

CI trying to ignore result of a stage to do next anyway

Signed-off-by: Raphael Defosseux's avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent f4cdb666
Pipeline #10440 failed with stage
in 0 seconds
......@@ -81,12 +81,19 @@ pipeline {
}
stage ("Test") {
steps {
gitlabCommitStatus(name: "Test") {
sh "./bin/test1"
sh "./bin/test2"
sh "./bin/test3"
script {
try {
gitlabCommitStatus(name: "Test") {
sh "./bin/test1"
sh "./bin/test2"
sh "./bin/test3"
echo "TERMINATE is ${TERMINATE_STATUS}"
sh "./scripts/fail.sh"
}
} catch (Exception e) {
currentBuild.result = 'FAILURE'
}
}
echo "TERMINATE is ${TERMINATE_STATUS}"
}
}
stage ("Test slave job") {
......
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