Skip to content

Commit

Permalink
pass script to bash to support scripts which aren't actually executable
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Apr 4, 2021
1 parent 763c003 commit da3143c
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
)
}
Expand Down

0 comments on commit da3143c

Please sign in to comment.