Skip to content

Commit

Permalink
Add a couple more missing labels
Browse files Browse the repository at this point in the history
  • Loading branch information
brianseeders committed Oct 30, 2019
1 parent 1f28c8e commit f63b83d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
11 changes: 7 additions & 4 deletions vars/kibanaPipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,11 @@ def sendKibanaMail() {
}
}

def bash(script) {
sh "#!/bin/bash\n${script}"
def bash(script, label="") {
sh(
script: "#!/bin/bash\n${script}",
label: label
)
}

def doSetup() {
Expand All @@ -245,10 +248,10 @@ def buildXpack() {
}

def runErrorReporter() {
bash """
bash("""
source src/dev/ci_setup/setup_env.sh
node scripts/report_failed_tests
"""
""", "Report failed tests, if necessary"
}

return this
5 changes: 4 additions & 1 deletion vars/runbld.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ def call(script, label = "", enableJunitProcessing = false) {
}

def junit() {
sh "/usr/local/bin/runbld -d '${pwd()}' ${env.WORKSPACE}/kibana/test/scripts/jenkins_runbld_junit.sh"
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

0 comments on commit f63b83d

Please sign in to comment.