Skip to content

Commit

Permalink
Remove debug stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
brianseeders committed Jul 20, 2020
1 parent cff336a commit 3be02a7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions vars/githubPr.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,6 @@ def getNextCommentMessage(previousCommentInfo = [:], isFinal = false) {
"""
}

// TODO remove
print "Status: ${status}"
getFailedSteps()

if (status != 'SUCCESS' && status != 'UNSTABLE') {
try {
def steps = getFailedSteps()
Expand Down
1 change: 0 additions & 1 deletion vars/jenkinsApi.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ 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 3be02a7

Please sign in to comment.