Update Jenkinsfile

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

View File

@ -20,8 +20,7 @@ node('container') {
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 'npm config set prefix "~/.npm-global" && source ~/.profile || true' sh 'npm config set prefix "~/.npm-global" && source ~/.profile && 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') {
sh 'cd openvidu/openvidu-node-client && npm install --unsafe-perm && npm run build && npm link' sh 'cd openvidu/openvidu-node-client && npm install --unsafe-perm && npm run build && npm link'