Add busybox container
dustin/jenkinskube/pipeline/head This commit looks good Details

master
Dustin 2022-07-25 16:13:49 -05:00
parent ca4ddf2958
commit 40f1ef7ab2
2 changed files with 11 additions and 1 deletions

5
ci/Jenkinsfile vendored
View File

@ -1,7 +1,10 @@
// vim: set sw=4 ts=4 sts=4 et : // vim: set sw=4 ts=4 sts=4 et :
pipeline { pipeline {
agent { agent {
kubernetes true kubernetes {
yamlFile 'ci/podTemplate.yaml'
defaultContainer 'busybox'
}
} }
stages { stages {

7
ci/podTemplate.yaml Normal file
View File

@ -0,0 +1,7 @@
spec:
containers:
- name: busybox
image: busybox
command:
- sleep
- infinity