mirror of
https://github.com/elastic/kibana.git
synced 2025-04-22 08:49:27 -04:00
17 lines
437 B
Groovy
17 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
|