mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 10:23:14 -04:00
pass script to bash to support scripts which aren't actually executable (#96198)
Co-authored-by: spalger <spalger@users.noreply.github.com>
This commit is contained in:
parent
80a80d2ca4
commit
93f3246867
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
def call(script, label, enableJunitProcessing = false) {
|
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(
|
sh(
|
||||||
script: "/usr/local/bin/runbld -d '${pwd()}' ${extraConfig} ${script}",
|
script: "bash ${script}",
|
||||||
label: label ?: script
|
label: label ?: script
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue