Commit d1846dcf authored by Gakki's avatar Gakki
parents 2a92ae30 4a35d30d
pipeline {
agent {
node {
label 'nodejs'
}
}
environment {
KUBECONFIG_CREDENTIAL_ID = 'devops-kubeconfig'
REGISTRY = '10.0.6.228:5000'
DOCKERHUB_NAMESPACE = 'house-manage-pd'
APP_NAME = 'web-main'
NAMESPACE = 'house-manage-pd'
}
stages {
stage ('checkout scm') {
steps {
checkout(scm)
}
}
stage ('build & push') {
steps {
container ('nodejs') {
sh 'docker build -f Dockerfile --build-arg project=pudong-sit -t $REGISTRY/$DOCKERHUB_NAMESPACE/$APP_NAME:$BUILD_NUMBER .'
sh 'docker push $REGISTRY/$DOCKERHUB_NAMESPACE/$APP_NAME:$BUILD_NUMBER'
}
}
}
stage('deploy') {
steps {
kubernetesDeploy(configs: 'deploy/**', enableConfigSubstitution: true, kubeconfigId: "$KUBECONFIG_CREDENTIAL_ID")
}
}
}
}
...@@ -38,15 +38,15 @@ ...@@ -38,15 +38,15 @@
}, },
{ {
"path": "/pudong/complaintPath", "name": "complaintPath", "path": "/pudong/complaintPath", "name": "complaintPath",
"meta": { "title": "投诉直通车", "menuPath": true, "menuIcon": "profile", "hideInBread": true }, "meta": { "title": "投诉信息", "menuPath": true, "menuIcon": "profile", "hideInBread": true },
"children": [ "children": [
{ {
"path": "/pudong/complaintPath/complaintList", "name": "complaintList", "path": "/pudong/complaintPath/complaintList", "name": "complaintList",
"meta": { "title": "投诉列表", "menuPath": true, "menuIcon": "profile", "hideInBread": false } "meta": { "title": "投诉列表", "menuPath": true, "menuIcon": "profile", "hideInBread": false }
}, },
{ {
"path": "/pudong/complaintPath/repeatComplaintList", "name": "repeatComplaintList", "path": "/pudong/complaintPath/complaint12345TEL", "name": "complaint12345TEL",
"meta": { "title": "重复投诉列表", "menuPath": true, "menuIcon": "profile", "hideInBread": false } "meta": { "title": "12345热线列表", "menuPath": true, "menuIcon": "profile", "hideInBread": false }
} }
] ]
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment