kibana/vars/runbld.groovy
Spencer cf22394807
pass script to bash to support scripts which aren't actually executable (#96198)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-04-04 14:40:42 -04:00

18 lines
437 B
Groovy

def call(script, label, enableJunitProcessing = false) {
// def extraConfig = enableJunitProcessing ? "" : "--config ${env.WORKSPACE}/kibana/.ci/runbld_no_junit.yml"
sh(
script: "bash ${script}",
label: label ?: script
)
}
def junit() {
sh(
script: "/usr/local/bin/runbld -d '${pwd()}' ${env.WORKSPACE}/kibana/test/scripts/jenkins_runbld_junit.sh",
label: "Process JUnit reports with runbld"
)
}
return this