From e710f9e5e1cfd285bb52b8188d3d7d5f0700e514 Mon Sep 17 00:00:00 2001 From: The_Spider Date: Wed, 6 Jul 2022 21:31:59 -0500 Subject: [PATCH] corrects library --- build-factario-container.jenkins | 4 ++-- build-projectzomboid.jenkins | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build-factario-container.jenkins b/build-factario-container.jenkins index 92a32e9..76f586f 100644 --- a/build-factario-container.jenkins +++ b/build-factario-container.jenkins @@ -109,14 +109,14 @@ podTemplate( writeFile(file: workspace + "/start-server.sh", text: factorioScript) sh "chmod +x ${workspace}/start-server.sh" - declarativeFunctions.buildContainer( + functions.buildContainer( repository: repository, imageDest: "${repository}/library/factorio:latest", dockerFile: dockerFile, repoCreds: repositoryCreds, ) - declarativeFunctions.functions.deletePod( + functions.deletePod( kubeAuth: "k8s-game-servers-access", kubeURL: "https://k8s.test-chamber-13.lan:8043", namespace: "game-servers", diff --git a/build-projectzomboid.jenkins b/build-projectzomboid.jenkins index bd56c9a..306a5d3 100644 --- a/build-projectzomboid.jenkins +++ b/build-projectzomboid.jenkins @@ -56,7 +56,7 @@ ENTRYPOINT ["/bin/bash", "-c", "/home/steam/ProjectZomboid/start-server.sh"] } } - functions.buildContainer( + declarativeFunctions.buildContainer( repository: repository, imageDest: "${repository}/library/project-zomboid:latest", dockerFile: dockerFile, @@ -66,7 +66,7 @@ ENTRYPOINT ["/bin/bash", "-c", "/home/steam/ProjectZomboid/start-server.sh"] ], ) - functions.deletePod( + declarativeFunctions.functions.deletePod( kubeAuth: "k8s-game-servers-access", kubeURL: "https://k8s.test-chamber-13.lan:8043", namespace: "game-servers",