From 1a14308bbfe0476b930b3801d412e3a47bb16a6a Mon Sep 17 00:00:00 2001 From: jeanjerome Date: Sun, 20 Aug 2023 02:18:51 +0200 Subject: [PATCH] ref(15): Start testing wild integration with Jenkins --- vars/wildPipeline.groovy | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/vars/wildPipeline.groovy b/vars/wildPipeline.groovy index d0bea63..adc2eb7 100644 --- a/vars/wildPipeline.groovy +++ b/vars/wildPipeline.groovy @@ -3,6 +3,7 @@ def call() { string pod_init_label = "wild-init-1" string pod_run_label = "wild-run-1" def k8s_containers_init = libraryResource('config/k8s/containers-init.yaml') + var k8s_containers_run = null def colored_xterm = isColoredXterm() def env_variables_list = [ @@ -59,18 +60,14 @@ def call() { sh script: "test/action/test.sh", returnstatus: true } - //def appConfig = readYaml(file: "${wild_path}/config/containers-config.yaml") + def appConfig = readYaml(file: "${wild_path}/config/containers-config.yaml") def runContainerNames = ["bash", "maven"] + def runContainerConfig = containerConfig.getContainerConfig(appConfig, runContainerNames) + k8s_containers_run = containerConfig.generateContainerTemplate(runContainerConfig) stash name: "init", usedefaultexcludes: false } } - - - //def runContainerConfig = containerConfig.getContainerConfig(appConfig, runContainerNames) - //def k8s_containers_run = containerConfig.generateContainerTemplate(runContainerConfig) - - } }