mirror of https://github.com/OpenVidu/openvidu.git
Jenkinsfile: rollback (always download custom layout)
parent
5ad2e4d975
commit
9e2a64ee55
|
@ -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 (
|
||||||
|
|
Loading…
Reference in New Issue