Set build as FAILURE on any test failure
This commit is contained in:
parent
bd74b9b030
commit
79ceed2c45
1
openvidu-test-e2e/jenkins/Jenkinsfile
vendored
1
openvidu-test-e2e/jenkins/Jenkinsfile
vendored
@ -212,6 +212,7 @@ def openViduE2ETest(mediaServer) {
|
||||
'''.stripIndent())
|
||||
} catch (err) {
|
||||
echo "Test failed"
|
||||
currentBuild.result = 'FAILURE'
|
||||
} finally {
|
||||
junit 'openvidu/openvidu-test-e2e/**/target/surefire-reports/TEST-*.xml'
|
||||
archiveArtifacts artifacts: '**/openvidu-server.log'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user