diff --git a/openvidu-test-e2e/jenkins/Jenkinsfile b/openvidu-test-e2e/jenkins/Jenkinsfile index 92fbe6ec..0cddca7a 100644 --- a/openvidu-test-e2e/jenkins/Jenkinsfile +++ b/openvidu-test-e2e/jenkins/Jenkinsfile @@ -23,14 +23,7 @@ node('container') { '''.stripIndent()) }, 'Download custom layout': { - sh(script: '''#!/bin/bash -xe - CUSTOM_LAYOUT=/opt/openvidu/test-layouts/layout1/index.html - if [ ! -f $CUSTOM_LAYOUT ]; then - wget https://raw.githubusercontent.com/OpenVidu/openvidu/master/openvidu-test-e2e/docker/my-custom-layout/index.html -O $CUSTOM_LAYOUT - else - echo "File $CUSTOM_LAYOUT already exists" - fi - '''.stripIndent()) + sh 'wget --directory-prefix=/opt/openvidu/test-layouts/layout1 https://raw.githubusercontent.com/OpenVidu/openvidu/master/openvidu-test-e2e/docker/my-custom-layout/index.html' } ) parallel (