From 9e2a64ee556a427c5c56abd7d750b86e76865ff9 Mon Sep 17 00:00:00 2001 From: pabloFuente Date: Fri, 22 Oct 2021 15:29:49 +0200 Subject: [PATCH] Jenkinsfile: rollback (always download custom layout) --- openvidu-test-e2e/jenkins/Jenkinsfile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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 (