Update insurance/Jenkinsfile.InsuranceFe
This commit is contained in:
@@ -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')]) {
|
||||
|
||||
Reference in New Issue
Block a user