Co-authored-by: spalger <spalger@users.noreply.github.com> Co-authored-by: Spencer <email@spalger.com> Co-authored-by: spalger <spalger@users.noreply.github.com>
17 lines
427 B
Groovy
17 lines
427 B
Groovy
def call(script, label, enableJunitProcessing = false) {
|
|
// def extraConfig = enableJunitProcessing ? "" : "--config ${env.WORKSPACE}/kibana/.ci/runbld_no_junit.yml"
|
|
|
|
sh(
|
|
script: 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
|