Add busybox container
All checks were successful
dustin/jenkinskube/pipeline/head This commit looks good
All checks were successful
dustin/jenkinskube/pipeline/head This commit looks good
This commit is contained in:
5
ci/Jenkinsfile
vendored
5
ci/Jenkinsfile
vendored
@@ -1,7 +1,10 @@
|
||||
// vim: set sw=4 ts=4 sts=4 et :
|
||||
pipeline {
|
||||
agent {
|
||||
kubernetes true
|
||||
kubernetes {
|
||||
yamlFile 'ci/podTemplate.yaml'
|
||||
defaultContainer 'busybox'
|
||||
}
|
||||
}
|
||||
|
||||
stages {
|
||||
|
||||
7
ci/podTemplate.yaml
Normal file
7
ci/podTemplate.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
spec:
|
||||
containers:
|
||||
- name: busybox
|
||||
image: busybox
|
||||
command:
|
||||
- sleep
|
||||
- infinity
|
||||
Reference in New Issue
Block a user