Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
added more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Paolini committed Sep 9, 2016
1 parent 4dcca5c commit 255d7df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/groovy/com/entagen/jenkins/GitApi.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class GitApi {
String branchName = line.find(branchNameRegex) { full, branchName -> branchName }
Boolean selected = passesFilter(branchName)
Boolean passedOldCommit = true // passesLastCommitDateFilter(line)
println "\t" + (selected && passedOldCommit ? "* " : " ") + "$line"
println "selected=${selected}, passedOldCommit=${passedOldCommit}\t" + (selected && passedOldCommit ? "* " : " ") + "$line"
// lines are in the format of: lastCommitDate\torigin/BRANCH_NAME
// ex: 1471048873 origin/master
if (selected && passedOldCommit) branchNames << branchName
Expand Down

0 comments on commit 255d7df

Please sign in to comment.