Testing to add nginx.conf inside application source

This commit is contained in:
Erik Tiekstra
2021-05-06 09:46:51 +02:00
parent f24ab48943
commit 7fa4b4ce63
3 changed files with 88 additions and 5 deletions

View File

@@ -90,16 +90,13 @@ pipeline {
}
stage("Build application") {
environment {
NGINX_PATH = "${dist_path}/."
}
steps {
echo '### Building application... ###'
sh '''
npm run build:pega
cp nginx/nginx.conf ${NGINX_PATH}
#cp nginx/nginx.conf ${NGINX_PATH}
#cp -r nginx/* ${NGINX_PATH}
'''