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()