From 2fdf483065e4284d0ef649f47cef45e5a67c3091 Mon Sep 17 00:00:00 2001 From: mukangt <40862975+mukangt@users.noreply.github.com> Date: Thu, 13 Oct 2022 17:53:48 +0800 Subject: [PATCH] Update Jenkinsfile no sleep command in kaniko, need to use /busybox/sleep. --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e8d3ed7..90f2728 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,9 +12,9 @@ podTemplate(yaml: ''' - name: kaniko image: gcr.io/kaniko-project/executor:debug command: - - sleep + - /busybox/sleep args: - - 9999999 + - infinity volumeMounts: - name: kaniko-secret mountPath: /kaniko/.docker @@ -50,4 +50,4 @@ podTemplate(yaml: ''' } } -} \ No newline at end of file +}