From da3143cc3e5e1cf81a528698bffa453c6957f5ea Mon Sep 17 00:00:00 2001 From: spalger Date: Sun, 4 Apr 2021 09:39:10 -0700 Subject: [PATCH] pass script to bash to support scripts which aren't actually executable --- vars/runbld.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vars/runbld.groovy b/vars/runbld.groovy index e52bc244c65c..80416d4fa9a4 100644 --- a/vars/runbld.groovy +++ b/vars/runbld.groovy @@ -1,8 +1,8 @@ def call(script, label, enableJunitProcessing = false) { - def extraConfig = enableJunitProcessing ? "" : "--config ${env.WORKSPACE}/kibana/.ci/runbld_no_junit.yml" + // def extraConfig = enableJunitProcessing ? "" : "--config ${env.WORKSPACE}/kibana/.ci/runbld_no_junit.yml" sh( - script: "/usr/local/bin/runbld -d '${pwd()}' ${extraConfig} ${script}", + script: "bash ${script}", label: label ?: script ) }