mirror of https://github.com/OpenVidu/openvidu.git
Jenkinsfile: fix script load
parent
2e8536064b
commit
7afbb8345c
|
@ -1,10 +1,11 @@
|
||||||
node('container') {
|
node('container') {
|
||||||
|
sh 'curl -O https://raw.githubusercontent.com/OpenVidu/openvidu/master/openvidu-test-e2e/jenkins/commonFunctions.groovy'
|
||||||
|
def commonFunctions = load 'commonFunctions.groovy'
|
||||||
|
commonFunctions.prepareTestingEnvironment()
|
||||||
|
|
||||||
def commitId = "${OPENVIDU_COMMIT}"
|
def commitId = "${OPENVIDU_COMMIT}"
|
||||||
checkout([$class: 'GitSCM', branches: [[name: commitId]], userRemoteConfigs: [[url: 'https://github.com/OpenVidu/openvidu']]])
|
checkout([$class: 'GitSCM', branches: [[name: commitId]], userRemoteConfigs: [[url: 'https://github.com/OpenVidu/openvidu']]])
|
||||||
|
|
||||||
def commonFunctions = load('openvidu-test-e2e/jenkins/commonFunctions.groovy')
|
|
||||||
commonFunctions.prepareTestingEnvironment()
|
|
||||||
|
|
||||||
def bindsArray = ['-v /var/run/docker.sock:/var/run/docker.sock:rw',
|
def bindsArray = ['-v /var/run/docker.sock:/var/run/docker.sock:rw',
|
||||||
'-v /dev/shm:/dev/shm',
|
'-v /dev/shm:/dev/shm',
|
||||||
'-v /opt/openvidu:/opt/openvidu',
|
'-v /opt/openvidu:/opt/openvidu',
|
||||||
|
|
Loading…
Reference in New Issue