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
ac7c9ab0
Commit
ac7c9ab0
authored
Mar 26, 2019
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整maven构建镜像版本,修复无法找到git命令问题
parent
a8595af9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Jenkinsfile
jenkins/Jenkinsfile
+1
-1
Jenkinsfile-charts
jenkins/Jenkinsfile-charts
+1
-1
No files found.
jenkins/Jenkinsfile
View file @
ac7c9ab0
...
...
@@ -14,7 +14,7 @@ properties(projectProperties)
def
label
=
"mypod-${UUID.randomUUID().toString()}"
podTemplate
(
label:
label
,
cloud:
'kubernetes'
,
containers:
[
containerTemplate
(
name:
'maven'
,
image:
'maven:3
-jdk-8-alpine
'
,
command:
'cat'
,
ttyEnabled:
true
),
containerTemplate
(
name:
'maven'
,
image:
'maven:3
.6.0-jdk-8
'
,
command:
'cat'
,
ttyEnabled:
true
),
containerTemplate
(
name:
'docker'
,
image:
'docker'
,
command:
'cat'
,
ttyEnabled:
true
),
containerTemplate
(
name:
'kubectl'
,
image:
'lachlanevenson/k8s-kubectl:v1.10.2'
,
command:
'cat'
,
ttyEnabled:
true
)
],
...
...
jenkins/Jenkinsfile-charts
View file @
ac7c9ab0
...
...
@@ -14,7 +14,7 @@ properties(projectProperties)
def
label
=
"mypod-${UUID.randomUUID().toString()}"
podTemplate
(
label:
label
,
cloud:
'kubernetes'
,
containers:
[
containerTemplate
(
name:
'maven'
,
image:
'maven:3
-jdk-8-alpine
'
,
command:
'cat'
,
ttyEnabled:
true
),
containerTemplate
(
name:
'maven'
,
image:
'maven:3
.6.0-jdk-8
'
,
command:
'cat'
,
ttyEnabled:
true
),
containerTemplate
(
name:
'docker'
,
image:
'docker'
,
command:
'cat'
,
ttyEnabled:
true
),
containerTemplate
(
name:
'helm'
,
image:
'lachlanevenson/k8s-helm:v2.9.1'
,
command:
'cat'
,
ttyEnabled:
true
,
envVars:
[
envVar
(
key:
'KUBECONFIG'
,
value:
'/root/.kube/config'
)])
...
...
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