mirror of https://github.com/OpenVidu/openvidu.git
Update Jenkinsfile
parent
3789dcc54d
commit
7dafad8dd0
|
@ -4,7 +4,6 @@ node('container') {
|
||||||
def mycontainer = docker.image('openvidu/openvidu-test-e2e:latest')
|
def mycontainer = docker.image('openvidu/openvidu-test-e2e:latest')
|
||||||
mycontainer.pull()
|
mycontainer.pull()
|
||||||
mycontainer.inside("-p 4200:4200 -p 8443:8443 -u root -v /var/run/docker.sock:/var/run/docker.sock:rw -v /dev/shm:/dev/shm") {
|
mycontainer.inside("-p 4200:4200 -p 8443:8443 -u root -v /var/run/docker.sock:/var/run/docker.sock:rw -v /dev/shm:/dev/shm") {
|
||||||
stages {
|
|
||||||
stage('Preparation') {
|
stage('Preparation') {
|
||||||
sh 'rm -rf ~/openvidu || true'
|
sh 'rm -rf ~/openvidu || true'
|
||||||
sh 'git clone https://github.com/OpenVidu/openvidu.git ~/openvidu'
|
sh 'git clone https://github.com/OpenVidu/openvidu.git ~/openvidu'
|
||||||
|
@ -27,14 +26,9 @@ node('container') {
|
||||||
}
|
}
|
||||||
stage ('E2E tests') {
|
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'
|
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'
|
||||||
}
|
|
||||||
}
|
|
||||||
post {
|
|
||||||
always {
|
|
||||||
junit "~/openvidu/openvidu-test-e2e/**/target/surefire-reports/TEST-*.xml"
|
junit "~/openvidu/openvidu-test-e2e/**/target/surefire-reports/TEST-*.xml"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue