Update Jenkinsfile

pull/73/head
Pablo Fuente Pérez 2018-05-21 15:41:13 +02:00 committed by GitHub
parent fe0e099c58
commit b1ece0a94e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -12,13 +12,13 @@ node('container') {
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 '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' sh 'mkdir ~/.npm-global && npm config set prefix "~/.npm-global" && echo "export PATH=~/.npm-global/bin:\$PATH" >> ~/.profile && source ~/.profile || true'
} }
stage('OpenVidu parent build') { stage('OpenVidu parent build') {
sh 'echo "cd openvidu && mvn -DskipTests=true install"' sh 'echo "cd openvidu && mvn -DskipTests=true install"'
} }
stage('OpenVidu Browser build') { stage('OpenVidu Browser build') {
sh 'mkdir ~/.npm-global && npm config set prefix "~/.npm-global" && echo "export PATH=~/.npm-global/bin:\$PATH" >> ~/.profile && source ~/.profile' sh 'mkdir ~/.npm-global && npm config set prefix "~/.npm-global" && echo "export PATH=~/.npm-global/bin:\$PATH" >> ~/.profile && source ~/.profile || true'
sh 'cd openvidu/openvidu-browser && npm install --unsafe-perm && npm run build && npm link' sh 'cd openvidu/openvidu-browser && npm install --unsafe-perm && npm run build && npm link'
} }
stage('OpenVidu Node Client build') { stage('OpenVidu Node Client build') {