mirror of https://github.com/OpenVidu/openvidu.git
Update Jenkinsfile
parent
7b9df608f2
commit
0c6de93567
|
@ -27,7 +27,9 @@ node('container') {
|
||||||
'''.stripIndent())
|
'''.stripIndent())
|
||||||
sh(script: '''#!/bin/bash
|
sh(script: '''#!/bin/bash
|
||||||
if $KURENTO_MEDIA_SERVER_DEV ; then
|
if $KURENTO_MEDIA_SERVER_DEV ; then
|
||||||
sudo apt-get install --only-upgrade kurento-media-server
|
DISTRO=`lsb_release --codename | cut -f2`
|
||||||
|
echo "deb [arch=amd64] http://ubuntu.openvidu.io/dev $DISTRO kms6" | tee /etc/apt/sources.list.d/kurento.list
|
||||||
|
apt-get update && apt-get upgrade -y kurento-media-server
|
||||||
fi
|
fi
|
||||||
'''.stripIndent())
|
'''.stripIndent())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue