E2e Jenkinsfile fetch git origin

pull/431/head
pabloFuente 2020-04-06 18:29:52 +02:00
parent daec96f465
commit 86cd0fe62f
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ node('container') {
sh 'rm -rf kurento-java || true' sh 'rm -rf kurento-java || true'
sh 'rm -rf /opt/openvidu/recordings/* || true' sh 'rm -rf /opt/openvidu/recordings/* || true'
sh 'git clone https://github.com/OpenVidu/openvidu.git' sh 'git clone https://github.com/OpenVidu/openvidu.git'
sh 'cd openvidu && git checkout $OPENVIDU_COMMIT' sh 'cd openvidu && git fetch origin && git checkout $OPENVIDU_COMMIT'
sh(script: '''#!/bin/bash sh(script: '''#!/bin/bash
if $KURENTO_JAVA_SNAPSHOT ; then if $KURENTO_JAVA_SNAPSHOT ; then
git clone https://github.com/Kurento/kurento-java.git git clone https://github.com/Kurento/kurento-java.git