mirror of https://github.com/OpenVidu/openvidu.git
Jenkinsfile: fix wget
parent
65f492d5da
commit
08aa82afc4
|
@ -6,7 +6,7 @@ node('container') {
|
||||||
sh(script: '''#!/bin/bash -xe
|
sh(script: '''#!/bin/bash -xe
|
||||||
FAKE_VIDEO=/opt/openvidu-cache/barcode.y4m
|
FAKE_VIDEO=/opt/openvidu-cache/barcode.y4m
|
||||||
if [ ! -f $FAKE_VIDEO ]; then
|
if [ ! -f $FAKE_VIDEO ]; then
|
||||||
wget https://github.com/OpenVidu/openvidu/raw/master/openvidu-test-e2e/docker/barcode.y4m -O $FAKE_VIDEO
|
wget --directory-prefix=/opt/openvidu-cache https://github.com/OpenVidu/openvidu/raw/master/openvidu-test-e2e/docker/barcode.y4m
|
||||||
else
|
else
|
||||||
echo "File $FAKE_VIDEO already exists"
|
echo "File $FAKE_VIDEO already exists"
|
||||||
fi
|
fi
|
||||||
|
@ -16,7 +16,7 @@ node('container') {
|
||||||
sh(script: '''#!/bin/bash -xe
|
sh(script: '''#!/bin/bash -xe
|
||||||
FAKE_AUDIO=/opt/openvidu-cache/fakeaudio.wav
|
FAKE_AUDIO=/opt/openvidu-cache/fakeaudio.wav
|
||||||
if [ ! -f $FAKE_AUDIO ]; then
|
if [ ! -f $FAKE_AUDIO ]; then
|
||||||
wget https://github.com/OpenVidu/openvidu/raw/master/openvidu-test-e2e/docker/fakeaudio.wav -O $FAKE_AUDIO
|
wget --directory-prefix=/opt/openvidu-cache https://github.com/OpenVidu/openvidu/raw/master/openvidu-test-e2e/docker/fakeaudio.wav
|
||||||
else
|
else
|
||||||
echo "File $FAKE_AUDIO already exists"
|
echo "File $FAKE_AUDIO already exists"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue