diff --git a/openvidu-node-client/.gitignore b/openvidu-node-client/.gitignore index 51757794..3cdfcc6e 100644 --- a/openvidu-node-client/.gitignore +++ b/openvidu-node-client/.gitignore @@ -45,4 +45,6 @@ Thumbs.db /lib/ docs/ -lib/ \ No newline at end of file +lib/ + +*.tgz diff --git a/openvidu-test-e2e/jenkins/Jenkinsfile b/openvidu-test-e2e/jenkins/Jenkinsfile index ff9dc3f0..11f92a0d 100644 --- a/openvidu-test-e2e/jenkins/Jenkinsfile +++ b/openvidu-test-e2e/jenkins/Jenkinsfile @@ -72,7 +72,7 @@ node('container') { '''.stripIndent()) } stage('OpenVidu TestApp build') { - sh 'cd openvidu/openvidu-testapp && npm install --unsafe-perm && npm install /opt/openvidu/openvidu-browser-*.tgz && npm install /opt/openvidu/openvidu-node-client-*.tgz && export NG_CLI_ANALYTICS=ci && ./node_modules/@angular/cli/bin/ng build --prod' + sh 'cd openvidu/openvidu-testapp && npm install --unsafe-perm && npm install /opt/openvidu/openvidu-browser-*.tgz && npm install /opt/openvidu/openvidu-node-client-*.tgz && export NG_CLI_ANALYTICS="false" && ./node_modules/@angular/cli/bin/ng build --prod' } stage('OpenVidu Server unit tests') { sh 'cd openvidu/openvidu-server && mvn --batch-mode -Dtest=io.openvidu.server.test.unit.*Test test' @@ -86,7 +86,7 @@ node('container') { if [[ $OPENVIDU_SERVER_COMMIT != "default" ]]; then git checkout -f $OPENVIDU_SERVER_COMMIT fi - cd openvidu-server/src/dashboard && npm install --unsafe-perm && npm install /opt/openvidu/openvidu-browser-*.tgz && export NG_CLI_ANALYTICS=ci && npm run build-prod + cd openvidu-server/src/dashboard && npm install --unsafe-perm && npm install /opt/openvidu/openvidu-browser-*.tgz && export NG_CLI_ANALYTICS="false" && npm run build-prod cd ../.. && mvn --batch-mode clean compile package cp target/openvidu-server*.jar /opt/openvidu cd .. @@ -95,7 +95,7 @@ node('container') { } stage ('Environment Launch') { sh 'openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -subj "/CN=www.mydom.com/O=My Company LTD./C=US" -keyout openvidu/openvidu-testapp/dist/key.pem -out openvidu/openvidu-testapp/dist/cert.pem' - sh 'cd openvidu/openvidu-testapp/dist && http-server -S -p 4200 &> /testapp.log &' + sh 'cd openvidu/openvidu-testapp/dist && http-server -S -p 4200 &> /opt/openvidu/testapp.log &' sh '/usr/bin/kurento-media-server &> /kms.log &' sh 'until $(curl --insecure --output /dev/null --silent http://127.0.0.1:8888/kurento); do echo "Waiting for KMS..."; sleep 1; done' sh(script: '''#!/bin/bash