Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
springboot-k8s-example
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
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
demo
springboot-k8s-example
Commits
342f7e17
Commit
342f7e17
authored
Jun 30, 2020
by
卢浩元
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Jenkinsfile-charts
parent
7e11392e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Jenkinsfile-charts
jenkins/Jenkinsfile-charts
+4
-1
No files found.
jenkins/Jenkinsfile-charts
View file @
342f7e17
...
@@ -81,7 +81,10 @@ podTemplate(label: label, cloud: 'kubernetes', containers: [
...
@@ -81,7 +81,10 @@ podTemplate(label: label, cloud: 'kubernetes', containers: [
container
(
'helm'
)
{
container
(
'helm'
)
{
stage
(
'helm deploy'
)
{
stage
(
'helm deploy'
)
{
sh
"sed -i \"s/lusyoe\\/k8s-example/${params.REGISTRY_URL}\\/lusyoe\\/k8s-example:${shortGitCommit}/g\" charts/values.yaml"
sh
label:
"replace config"
,
script:
"""
sed -i s#lusyoe/k8s-example#${params.REGISTRY_URL}/lusyoe/k8s-example:${shortGitCommit}#g charts/values.yaml
"""
sh
"helm upgrade --install k8s-example charts/"
sh
"helm upgrade --install k8s-example charts/"
}
}
}
}
...
...
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