From 3be02a7e7d566d7d55a2168fa80700eca4192bed Mon Sep 17 00:00:00 2001 From: Brian Seeders Date: Mon, 20 Jul 2020 11:49:54 -0400 Subject: [PATCH] Remove debug stuff --- vars/githubPr.groovy | 4 ---- vars/jenkinsApi.groovy | 1 - 2 files changed, 5 deletions(-) diff --git a/vars/githubPr.groovy b/vars/githubPr.groovy index 4fd709023f228..d176d97c3c1d4 100644 --- a/vars/githubPr.groovy +++ b/vars/githubPr.groovy @@ -214,10 +214,6 @@ def getNextCommentMessage(previousCommentInfo = [:], isFinal = false) { """ } - // TODO remove - print "Status: ${status}" - getFailedSteps() - if (status != 'SUCCESS' && status != 'UNSTABLE') { try { def steps = getFailedSteps() diff --git a/vars/jenkinsApi.groovy b/vars/jenkinsApi.groovy index 180ac0964146d..57818593ffeb2 100644 --- a/vars/jenkinsApi.groovy +++ b/vars/jenkinsApi.groovy @@ -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()