Updated nginx version inside nginx.conf

This commit is contained in:
Erik Tiekstra
2021-05-11 14:17:27 +02:00
parent 2c54c58e2e
commit 2b84413ba0
3 changed files with 11 additions and 94 deletions

View File

@@ -92,14 +92,17 @@ 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 -r nginx/* ${NGINX_PATH}
cp nginx/nginx.conf ${NGINX_PATH}
#cp -r nginx/* ${NGINX_PATH}
'''
echo '### Application built! ###'