diff --git a/Jenkinsfile b/Jenkinsfile index 2d9cc26..a2ba683 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -68,11 +68,12 @@ GIT_CRED: 'bot-ci-dgm', DEPLOY_USER: 'root', DEPLOY_HOST_TST: 'bxtsvctwas001.in.dolden.net', - DEPLOY_HOST_STS: 'bxtsvctwas001.in.dolden.net', + DEPLOY_HOST_STS: 'bxtsvctwas002.in.dolden.net', DEPLOY_HOST_ACC: 'bxtsvctwas003.in.dolden.net', DEPLOY_HOST_PRD: 'bxtsvctwas004.in.dolden.net', DEPLOY_DIR: '/var/www/html/dummyvue', DEPLOY_CRED: 'bot-ci-dgm-rsa', + BASE_URL: '/dummyvue/', ], inLabels: [ 'centos7', ], onLabels: [ default: 'master', docker: 'docker', ], @@ -191,7 +192,7 @@ gitMerge(workingBranch, releaseBranch) // Bump version into release branch jsVersion(nextVersion) - gitCommit("Update version to ${nextVersion}", 'package.json') + gitCommit("Update version to ${nextVersion}", 'lazyDir/package.json') // Uncomment the following to merge version bump back into the working branch //gitMerge(releaseBranch, workingBranch) // Tag and publish changes in release branch @@ -242,7 +243,7 @@ on: 'linux', ] } - +/* lazyStage { name = 'production' onlyif = ( env.LAZY_BRANCH == releaseBranch ) @@ -261,3 +262,4 @@ on: 'linux', ] } +*/ \ No newline at end of file diff --git a/vite.config.ts b/vite.config.ts index 315212d..dbd16b9 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,7 +1,10 @@ import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' +const BASE_URL = process.env.BASE_URL || '' + // https://vitejs.dev/config/ export default defineConfig({ + base: `${BASE_URL}`, plugins: [vue()] })