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 5af0e6b commit 7a3c49e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vars/wildPipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@ def call() {
])

def appConfig = readYaml(file: "${wild_path}/config/k8s/containers-config.yaml")
def runContainerNames = ["bash", "maven"]
def runContainerNames = []
container("bash") {
runContainerNames = sh(script: ". ${wild_path}/src/lib/workflow.sh && workflow::_get_workflows_containers_names ${wild_path}/test/config/workflow-default.json", returnStdout: true)
sh(script: "source ${wild_path}/src/lib/workflow.sh", returnStatus: false)
runContainerNames = workflow::_get_workflows_containers_names "${wild_path}/test/config/workflow-default.json"
}
def runContainerConfig = containerConfig.getContainerConfig(appConfig, runContainerNames)
k8s_containers_run = containerConfig.generateContainerTemplate(runContainerConfig)
Expand Down

0 comments on commit 7a3c49e

Please sign in to comment.