From 4ea9e666e36ebfbc772a8359c3efe384fa3462fe Mon Sep 17 00:00:00 2001 From: The_Spider Date: Tue, 11 Jan 2022 16:35:15 -0600 Subject: [PATCH] corrects syntax --- vars/functions.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vars/functions.groovy b/vars/functions.groovy index 38a875f..29077e9 100644 --- a/vars/functions.groovy +++ b/vars/functions.groovy @@ -4,7 +4,7 @@ def deletePod( String kubeAuth, String kubeURL, String namespace, - String selector, + String selector ){ def label = "kubernetes-${UUID.randomUUID().toString()}" def ws = pwd() @@ -51,7 +51,7 @@ spec: def buildContainer(String repository, String imageDest, String dockerFile, - String repoCreds,) { + String repoCreds) { def label = "kaniko-${UUID.randomUUID().toString()}" def ws = pwd()