mirror of https://github.com/OpenVidu/openvidu.git
Update Jenkinsfile
parent
b1ece0a94e
commit
735cc5ee58
|
@ -11,6 +11,8 @@ node('container') {
|
||||||
stage('Preparation') {
|
stage('Preparation') {
|
||||||
sh 'rm -rf openvidu || true'
|
sh 'rm -rf openvidu || true'
|
||||||
sh 'rm -rf /opt/openvidu/recordings/* || true'
|
sh 'rm -rf /opt/openvidu/recordings/* || true'
|
||||||
|
sh 'rm -rf ~/.npm-global || true'
|
||||||
|
sh 'rm -rf ~/.profile || true'
|
||||||
sh 'git clone https://github.com/OpenVidu/openvidu.git'
|
sh 'git clone https://github.com/OpenVidu/openvidu.git'
|
||||||
sh 'mkdir ~/.npm-global && npm config set prefix "~/.npm-global" && echo "export PATH=~/.npm-global/bin:\$PATH" >> ~/.profile && source ~/.profile || true'
|
sh 'mkdir ~/.npm-global && npm config set prefix "~/.npm-global" && echo "export PATH=~/.npm-global/bin:\$PATH" >> ~/.profile && source ~/.profile || true'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue