Jenkinsfile: fix script load

pull/658/head
pabloFuente 2021-10-26 14:52:35 +02:00
parent 2e8536064b
commit 7afbb8345c
1 changed files with 4 additions and 3 deletions

View File

@ -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',