Update insurance/Jenkinsfile.InsuranceFe

This commit is contained in:
2025-08-26 14:36:25 +08:00
parent 51247d599d
commit b0e223a602

View File

@@ -6,7 +6,7 @@ pipeline {
KUBECONFIG_CREDENTIALS = "k3s-kubeconfig"
GITEA_CREDENTIALS = "gitea"
K8S_NAMESPACE = "insurance-system"
DEPLOYMENT_NAME = "insurance-frontend"
DEPLOYMENT_NAME = "insurance-fe"
}
stages {
@@ -65,7 +65,7 @@ pipeline {
sh "npm install"
sh "npm run build -- --configuration production"
def dockerImage = "hzwnrw/dev:insurance-frontend-${env.NEW_VERSION}"
def dockerImage = "hzwnrw/dev:insurance-fe-${env.NEW_VERSION}"
sh "docker build -t ${dockerImage} ."
withCredentials([usernamePassword(credentialsId: env.REGISTRY_CREDENTIALS, usernameVariable: 'DOCKER_USER', passwordVariable: 'DOCKER_PASS')]) {