Skip to content

Commit

Permalink
ref(15): Start testing wild integration with Jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanjerome committed Aug 19, 2023
1 parent db2cabf commit 4639a07
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions vars/wildPipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ 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')
def runContainerNames
def runContainerConfig
def k8s_containers_run

def colored_xterm = isColoredXterm()
def readAppConfig = load 'readAppConfig.groovy'
Expand Down Expand Up @@ -64,15 +67,15 @@ def call() {
}

stash name: "init", usedefaultexcludes: false

runContainerNames = ["bash", "maven"]
runContainerConfig = ContainerConfig.getContainerConfig(this, runContainerNames)
k8s_containers_run = ContainerConfig.generateContainerTemplate(runContainerConfig)
}
}
}
}

def runContainerNames = ["bash", "maven"]
def runContainerConfig = ContainerConfig.getContainerConfig(this, runContainerNames)
def k8s_containers_run = ContainerConfig.generateContainerTemplate(runContainerConfig)


podTemplate(
label: pod_run_label,
Expand Down

0 comments on commit 4639a07

Please sign in to comment.