Updated Jenkinsfile and nginx.template
This commit is contained in:
@@ -64,10 +64,10 @@ http {
|
|||||||
add_header Cache-Control "no-cache, public, must-revalidate, proxy-revalidate";
|
add_header Cache-Control "no-cache, public, must-revalidate, proxy-revalidate";
|
||||||
}
|
}
|
||||||
|
|
||||||
underscores_in_headers on;
|
# underscores_in_headers on;
|
||||||
# $RESOLVER
|
# $RESOLVER
|
||||||
|
|
||||||
# JWT TOKEN
|
# # JWT TOKEN
|
||||||
# location /token/jwt/rest/idp/v0/dafa {
|
# location /token/jwt/rest/idp/v0/dafa {
|
||||||
# proxy_pass $JWT_URL;
|
# proxy_pass $JWT_URL;
|
||||||
# }
|
# }
|
||||||
|
|||||||
3
openshift/dev/Jenkinsfile
vendored
3
openshift/dev/Jenkinsfile
vendored
@@ -98,7 +98,8 @@ pipeline {
|
|||||||
|
|
||||||
sh '''
|
sh '''
|
||||||
npm run build:dafa
|
npm run build:dafa
|
||||||
cp -r nginx/* ${DIST_PATH}.
|
|
||||||
|
cp -r nginx/* ${DIST_PATH}/nginx-start
|
||||||
'''
|
'''
|
||||||
|
|
||||||
// Used when testing Openshift, so that we dont need to wait for build. Also put a # before npm ci above
|
// Used when testing Openshift, so that we dont need to wait for build. Also put a # before npm ci above
|
||||||
|
|||||||
Reference in New Issue
Block a user