From 40f1ef7ab232a5d119d616e0e05ea2442feb82a4 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Mon, 25 Jul 2022 16:13:49 -0500 Subject: [PATCH] Add busybox container --- ci/Jenkinsfile | 5 ++++- ci/podTemplate.yaml | 7 +++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 ci/podTemplate.yaml diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile index 7bab114..b20b028 100644 --- a/ci/Jenkinsfile +++ b/ci/Jenkinsfile @@ -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 { diff --git a/ci/podTemplate.yaml b/ci/podTemplate.yaml new file mode 100644 index 0000000..f842e6b --- /dev/null +++ b/ci/podTemplate.yaml @@ -0,0 +1,7 @@ +spec: + containers: + - name: busybox + image: busybox + command: + - sleep + - infinity