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 26, 2023
1 parent 258621c commit 783403e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/lib/workflow.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/usr/local/bin/bash
#@desc Workflow definition functions for bash scripts

set -euo pipefail
Expand Down
6 changes: 2 additions & 4 deletions vars/wildPipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,9 @@ def call() {
def names_containers_run = []
container('bash') {
sh "chmod +x ${wild_path}/src/lib/workflow.sh"
sh "source ${wild_path}/src/lib/workflow.sh"
names_containers_run = sh(
script: '''
printf "My current shell - %s\\n" "$SHELL"
workflow_get_workflows_containers_names ${wild_path}/test/config/workflow-default.json
''',
script: 'workflow_get_workflows_containers_names ${wild_path}/test/config/workflow-default.json',
returnStdout: true)
}
def config_containers_run = containerConfig.getContainerConfig(config_containers, names_containers_run)
Expand Down

0 comments on commit 783403e

Please sign in to comment.