Jenkinsfile: rollback (always download custom layout)

pull/661/head
pabloFuente 2021-10-22 15:29:49 +02:00
parent 5ad2e4d975
commit 9e2a64ee55
1 changed files with 1 additions and 8 deletions

View File

@ -23,14 +23,7 @@ node('container') {
'''.stripIndent()) '''.stripIndent())
}, },
'Download custom layout': { 'Download custom layout': {
sh(script: '''#!/bin/bash -xe 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'
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())
} }
) )
parallel ( parallel (