Copy nginx.conf inside Jenkinsfile instead of angular.json
This commit is contained in:
@@ -48,7 +48,7 @@
|
|||||||
"polyfills": "apps/dafa-web/src/polyfills.ts",
|
"polyfills": "apps/dafa-web/src/polyfills.ts",
|
||||||
"tsConfig": "apps/dafa-web/tsconfig.app.json",
|
"tsConfig": "apps/dafa-web/tsconfig.app.json",
|
||||||
"aot": true,
|
"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"],
|
"styles": ["apps/dafa-web/src/styles/styles.scss"],
|
||||||
"stylePreprocessorOptions": {
|
"stylePreprocessorOptions": {
|
||||||
"includePaths": ["apps/dafa-web/src/styles"]
|
"includePaths": ["apps/dafa-web/src/styles"]
|
||||||
|
|||||||
2
openshift/dev/Jenkinsfile
vendored
2
openshift/dev/Jenkinsfile
vendored
@@ -99,7 +99,7 @@ pipeline {
|
|||||||
npm run build:pega
|
npm run build:pega
|
||||||
|
|
||||||
#cp nginx/nginx.conf ${NGINX_PATH}
|
#cp nginx/nginx.conf ${NGINX_PATH}
|
||||||
#cp -r nginx/* ${NGINX_PATH}
|
cp -r nginx/* ${NGINX_PATH}
|
||||||
'''
|
'''
|
||||||
|
|
||||||
echo '### Application built! ###'
|
echo '### Application built! ###'
|
||||||
|
|||||||
Reference in New Issue
Block a user