Skip to content

Commit

Permalink
pass script to bash to support scripts which aren't actually executab…
Browse files Browse the repository at this point in the history
…le (#96198)

Co-authored-by: spalger <[email protected]>
  • Loading branch information
Spencer and spalger authored Apr 4, 2021
1 parent 763c003 commit cf22394
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vars/runbld.groovy
Original file line number Diff line number Diff line change
@@ -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
)
}

0 comments on commit cf22394

Please sign in to comment.