mirror of https://github.com/OpenVidu/openvidu.git
Update Jenkinsfile
parent
323c7edca0
commit
e36a325821
|
@ -14,13 +14,13 @@ node('container') {
|
||||||
sh 'rm -rf ~/.npm-global || true'
|
sh 'rm -rf ~/.npm-global || true'
|
||||||
sh 'rm -rf ~/.profile || 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 && echo "export PATH=~/.npm-global/bin:\$PATH" >> ~/.profile || true'
|
sh 'mkdir ~/.npm-global && npm config set prefix "~/.npm-global"'
|
||||||
}
|
}
|
||||||
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 'npm config set prefix "~/.npm-global" && source ~/.profile && cd openvidu/openvidu-browser && npm install --unsafe-perm && npm run build && npm link'
|
sh 'npm config set prefix "~/.npm-global" && 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'
|
||||||
|
|
Loading…
Reference in New Issue