Commit c6b2ca24 authored by Raphael Defosseux's avatar Raphael Defosseux

CI: fix when slave jobs fails, email status is SUCCESS.

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent e1d40791
...@@ -433,6 +433,11 @@ pipeline { ...@@ -433,6 +433,11 @@ pipeline {
} }
} }
} }
failure {
script {
currentBuild.result = 'FAILURE'
}
}
} }
} }
stage ("Test TDD - Band 40 - B210") { stage ("Test TDD - Band 40 - B210") {
...@@ -479,6 +484,11 @@ pipeline { ...@@ -479,6 +484,11 @@ pipeline {
} }
} }
} }
failure {
script {
currentBuild.result = 'FAILURE'
}
}
} }
} }
stage ("Test IF4p5 - FDD - Band 7 - B210") { stage ("Test IF4p5 - FDD - Band 7 - B210") {
...@@ -525,6 +535,11 @@ pipeline { ...@@ -525,6 +535,11 @@ pipeline {
} }
} }
} }
failure {
script {
currentBuild.result = 'FAILURE'
}
}
} }
} }
stage ("Test IF4p5 - TDD - Band 40 - B210") { stage ("Test IF4p5 - TDD - Band 40 - B210") {
...@@ -571,6 +586,11 @@ pipeline { ...@@ -571,6 +586,11 @@ pipeline {
} }
} }
} }
failure {
script {
currentBuild.result = 'FAILURE'
}
}
} }
} }
} }
......
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