* Revert "Revert "Add pipeline for flaky test runner job (#46740)""
This reverts commit 7d96a13fad
.
Also reconcile changes to Jenkinsfile since original revert happened
* Fix param parsing and add missed change
* Add missing variable
11 lines
363 B
Groovy
11 lines
363 B
Groovy
def call(script, enableJunitProcessing = false) {
|
|
def extraConfig = enableJunitProcessing ? "" : "--config ${env.WORKSPACE}/kibana/.ci/runbld_no_junit.yml"
|
|
|
|
sh "/usr/local/bin/runbld -d '${pwd()}' ${extraConfig} ${script}"
|
|
}
|
|
|
|
def junit() {
|
|
sh "/usr/local/bin/runbld -d '${pwd()}' ${env.WORKSPACE}/kibana/test/scripts/jenkins_runbld_junit.sh"
|
|
}
|
|
|
|
return this
|