mirror of https://github.com/OpenVidu/openvidu.git
Set build as FAILURE on any test failure
parent
bd74b9b030
commit
79ceed2c45
|
@ -212,6 +212,7 @@ def openViduE2ETest(mediaServer) {
|
||||||
'''.stripIndent())
|
'''.stripIndent())
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
echo "Test failed"
|
echo "Test failed"
|
||||||
|
currentBuild.result = 'FAILURE'
|
||||||
} finally {
|
} finally {
|
||||||
junit 'openvidu/openvidu-test-e2e/**/target/surefire-reports/TEST-*.xml'
|
junit 'openvidu/openvidu-test-e2e/**/target/surefire-reports/TEST-*.xml'
|
||||||
archiveArtifacts artifacts: '**/openvidu-server.log'
|
archiveArtifacts artifacts: '**/openvidu-server.log'
|
||||||
|
|
Loading…
Reference in New Issue