Update Jenkinsfile

pull/30/head
Pablo Fuente Pérez 2018-02-25 14:00:47 +01:00 committed by GitHub
parent 0719c81431
commit 4cab8a74a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -25,10 +25,12 @@ node('container') {
sh 'until $(curl --insecure --output /dev/null --silent --head --fail https://OPENVIDUAPP:MY_SECRET@localhost:8443/); do echo "Waiting for openvidu-server..."; sleep 5; done'
}
stage ('E2E tests') {
sh 'cd openvidu/openvidu-test-e2e && mvn -DAPP_URL=https://172.17.0.1:4200/ -DOPENVIDU_URL=https://172.17.0.1:8443/ -DREMOTE_URL_CHROME=http://172.17.0.1:4444/wd/hub/ -DREMOTE_URL_FIREFOX=http://172.17.0.1:4445/wd/hub/ test'
}
stage ('Test report') {
junit "openvidu/openvidu-test-e2e/**/target/surefire-reports/TEST-*.xml"
try {
sh 'cd openvidu/openvidu-test-e2e && mvn -DAPP_URL=https://172.17.0.1:4200/ -DOPENVIDU_URL=https://172.17.0.1:8443/ -DREMOTE_URL_CHROME=http://172.17.0.1:4444/wd/hub/ -DREMOTE_URL_FIREFOX=http://172.17.0.1:4445/wd/hub/ test'
}
finally {
junit "openvidu/openvidu-test-e2e/**/target/surefire-reports/TEST-*.xml"
}
}
}
}