mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-e2e: Jenkinsfile logs and archives openvidu-server output
parent
23fc6815b6
commit
79e8b6ace1
|
@ -71,11 +71,18 @@ node('container') {
|
|||
}
|
||||
stage ('E2E tests') {
|
||||
try {
|
||||
sh 'cd openvidu/openvidu-test-e2e && sudo mvn --batch-mode -DAPP_URL=https://172.17.0.1:4200/ -DOPENVIDU_URL=https://172.17.0.1:4443/ -DREMOTE_URL_CHROME=http://172.17.0.1:6666/wd/hub/ -DREMOTE_URL_FIREFOX=http://172.17.0.1:6667/wd/hub/ test'
|
||||
sh(script: '''#!/bin/bash
|
||||
cd openvidu/openvidu-test-e2e && sudo mvn --batch-mode -DAPP_URL=https://172.17.0.1:4200/ -DOPENVIDU_URL=https://172.17.0.1:4443/ -DREMOTE_URL_CHROME=http://172.17.0.1:6666/wd/hub/ -DREMOTE_URL_FIREFOX=http://172.17.0.1:6667/wd/hub/ test
|
||||
if [[ "$?" -ne 0 ]] ; then
|
||||
echo "ERROR RUNNING TESTS"
|
||||
echo "/openvidu-server.log"
|
||||
fi
|
||||
'''.stripIndent())
|
||||
}
|
||||
finally {
|
||||
junit "openvidu/openvidu-test-e2e/**/target/surefire-reports/TEST-*.xml"
|
||||
}
|
||||
archive "/openvidu-server.log"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue