Update Jenkinsfile

pull/73/head
Pablo Fuente Pérez 2018-04-26 15:53:33 +02:00 committed by GitHub
parent a99e554920
commit 499b28dd06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
node {
docker.image('elastestbrowsers/chrome:latest').withRun('-p 4444:4444 -p 5900:5900') { c ->
docker.image('elastestbrowsers/firefox:latest').withRun('-p 4445:4444 -p 5901:5900') { d ->
docker.image('elastestbrowsers/chrome:latest').withRun('-p 4444:4444 -p 5900:5900 --cap-add=SYS_ADMIN') { c ->
docker.image('elastestbrowsers/firefox:latest').withRun('-p 4445:4444 -p 5901:5900 --cap-add=SYS_ADMIN') { d ->
def mycontainer = docker.image('openvidu/openvidu-test-e2e:latest')
mycontainer.pull()
mycontainer.inside("-p 4200:4200 -p 4443:4443 -u root -v /var/run/docker.sock:/var/run/docker.sock:rw -v /dev/shm:/dev/shm") {