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 21, 2023
1 parent 7a3c49e commit 59f2249
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions vars/wildPipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ def call() {
def appConfig = readYaml(file: "${wild_path}/config/k8s/containers-config.yaml")
def runContainerNames = []
container("bash") {
sh(script: "source ${wild_path}/src/lib/workflow.sh", returnStatus: false)
runContainerNames = workflow::_get_workflows_containers_names "${wild_path}/test/config/workflow-default.json"
runContainerNames = sh """
source ${wild_path}/src/lib/workflow.sh
workflow::_get_workflows_containers_names ${wild_path}/test/config/workflow-default.json
""", returnStdout: true
}
def runContainerConfig = containerConfig.getContainerConfig(appConfig, runContainerNames)
k8s_containers_run = containerConfig.generateContainerTemplate(runContainerConfig)
Expand Down

0 comments on commit 59f2249

Please sign in to comment.