diff --git a/Jenkinsfile b/Jenkinsfile index aa0aef4..75ec45e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,7 +16,10 @@ pipeline { junit 'reports/*.xml' script{ if (currentBuild.result == 'UNSTABLE') + { currentBuild.result = 'FAILURE' + error('Tests failed, failing the build!') + } } } }