diff --git a/build-rcon.jenkins b/build-rcon.jenkins index cd731ad..f8f896e 100644 --- a/build-rcon.jenkins +++ b/build-rcon.jenkins @@ -1,15 +1,12 @@ #!groovy -GroovyShell shell = new GroovyShell() -def pt = shell.parse(new File('vars/podTemplates.groovy')) - -def label = pt.podLabel() +def label = podLabel() def repositoryCreds = "harbor-repository-creds" podTemplate( label: label, name: "pipeline-worker", - yaml: pt.podYaml( + yaml: podYaml( kaniko: true, alpine: true, ), diff --git a/vars/podTemplates.groovy b/libs/podTemplates.groovy similarity index 100% rename from vars/podTemplates.groovy rename to libs/podTemplates.groovy