Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mobi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wbx-PCAndMobi
mobi
Commits
d1846dcf
Commit
d1846dcf
authored
Jan 08, 2021
by
Gakki
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
ssh://git.omniview.pro:256/fangdi/housemanage/web/majorproject
into dev
parents
2a92ae30
4a35d30d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
3 deletions
+41
-3
Jenkinsfile-pudong
Jenkinsfile-pudong
+38
-0
pudongRoutes.json
src/router/pudongRoutes.json
+3
-3
No files found.
Jenkinsfile-pudong
0 → 100644
View file @
d1846dcf
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")
}
}
}
}
src/router/pudongRoutes.json
View file @
d1846dcf
...
...
@@ -38,15 +38,15 @@
},
{
"path"
:
"/pudong/complaintPath"
,
"name"
:
"complaintPath"
,
"meta"
:
{
"title"
:
"投诉
直通车
"
,
"menuPath"
:
true
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
true
},
"meta"
:
{
"title"
:
"投诉
信息
"
,
"menuPath"
:
true
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
true
},
"children"
:
[
{
"path"
:
"/pudong/complaintPath/complaintList"
,
"name"
:
"complaintList"
,
"meta"
:
{
"title"
:
"投诉列表"
,
"menuPath"
:
true
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
false
}
},
{
"path"
:
"/pudong/complaintPath/
repeatComplaintList"
,
"name"
:
"repeatComplaintList"
,
"meta"
:
{
"title"
:
"
重复投诉
列表"
,
"menuPath"
:
true
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
false
}
"path"
:
"/pudong/complaintPath/
complaint12345TEL"
,
"name"
:
"complaint12345TEL"
,
"meta"
:
{
"title"
:
"
12345热线
列表"
,
"menuPath"
:
true
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
false
}
}
]
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment