From e36a325821d6d481a0c10ec7746bbb82d6070c6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Fuente=20P=C3=A9rez?= Date: Mon, 21 May 2018 15:52:05 +0200 Subject: [PATCH] Update Jenkinsfile --- openvidu-test-e2e/jenkins/Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openvidu-test-e2e/jenkins/Jenkinsfile b/openvidu-test-e2e/jenkins/Jenkinsfile index 80c25f71..7f7d550f 100644 --- a/openvidu-test-e2e/jenkins/Jenkinsfile +++ b/openvidu-test-e2e/jenkins/Jenkinsfile @@ -14,13 +14,13 @@ node('container') { sh 'rm -rf ~/.npm-global || true' sh 'rm -rf ~/.profile || true' 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') { sh 'echo "cd openvidu && mvn -DskipTests=true install"' } 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') { sh 'cd openvidu/openvidu-node-client && npm install --unsafe-perm && npm run build && npm link'