From a38f3e087e225f75f22f80662749261b92b9f1e9 Mon Sep 17 00:00:00 2001 From: pabloFuente Date: Wed, 4 Nov 2020 13:10:00 +0100 Subject: [PATCH] Jenkinsfile: output testapp in /opt path --- 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 dd958b6f..6a155569 100644 --- a/openvidu-test-e2e/jenkins/Jenkinsfile +++ b/openvidu-test-e2e/jenkins/Jenkinsfile @@ -75,7 +75,7 @@ node('container') { 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 + export NG_CLI_ANALYTICS="false" && ./node_modules/@angular/cli/bin/ng build --prod --output-path=/opt/openvidu/testapp cd .. git checkout $OPENVIDU_COMMIT '''.stripIndent()) @@ -100,7 +100,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 &> /opt/openvidu/testapp.log &' + sh 'cd /opt/openvidu/testapp && 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