diff --git a/vars/wildPipeline.groovy b/vars/wildPipeline.groovy index 936f999..2d3ca12 100644 --- a/vars/wildPipeline.groovy +++ b/vars/wildPipeline.groovy @@ -57,10 +57,10 @@ def call() { def config_containers = readYaml(file: "${wild_path}/config/k8s/containers-config.yaml") def names_containers_run = [] container('bash') { + sh "chmod +x ${wild_path}/src/lib/workflow.sh" names_containers_run = sh( script: ''' - ps -p $$ - source ${wild_path}/src/lib/workflow.sh + printf "My current shell - %s\\n" "$SHELL" workflow_get_workflows_containers_names ${wild_path}/test/config/workflow-default.json ''', returnStdout: true)