Copy nginx.conf inside Jenkinsfile instead of angular.json

This commit is contained in:
Erik Tiekstra
2021-05-11 14:10:34 +02:00
parent 91d30bd9bd
commit 2c54c58e2e
2 changed files with 2 additions and 2 deletions

View File

@@ -48,7 +48,7 @@
"polyfills": "apps/dafa-web/src/polyfills.ts",
"tsConfig": "apps/dafa-web/tsconfig.app.json",
"aot": true,
"assets": ["apps/dafa-web/src/assets", "apps/dafa-web/src/nginx.conf"],
"assets": ["apps/dafa-web/src/assets"],
"styles": ["apps/dafa-web/src/styles/styles.scss"],
"stylePreprocessorOptions": {
"includePaths": ["apps/dafa-web/src/styles"]

View File

@@ -99,7 +99,7 @@ pipeline {
npm run build:pega
#cp nginx/nginx.conf ${NGINX_PATH}
#cp -r nginx/* ${NGINX_PATH}
cp -r nginx/* ${NGINX_PATH}
'''
echo '### Application built! ###'