Skip to content

Commit

Permalink
Add temporary debug
Browse files Browse the repository at this point in the history
  • Loading branch information
brianseeders committed Jul 20, 2020
1 parent 7c40a4c commit f70e49c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vars/jenkinsApi.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ def getSteps() {

def getFailedSteps() {
def steps = getSteps()
print steps // TODO remove
def failedSteps = steps?.findAll { (it.iconColor == "red" || it.iconColor == "red_anime") && it._class == "org.jenkinsci.plugins.workflow.cps.nodes.StepAtomNode" }
failedSteps.each { step ->
step.logs = "${env.BUILD_URL}execution/node/${step.id}/log".toString()
Expand Down

0 comments on commit f70e49c

Please sign in to comment.