Skip to content

Commit 7274152

Browse files
committed
added a comment
1 parent 6d0df4c commit 7274152

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/com/example/Library.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ def getSuccessfulBuildsMap(currentBuild) {
1515
private def lastSuccessfullBuild(build, successfulBuilds) {
1616
if(build != null){
1717
if(build.result == 'SUCCESS') {
18-
def commitHash = getCommitHash(build).substring(0, 7)
19-
successfulBuilds.put(build.number, commitHash) // Short Version of the Hash
18+
def commitHash = getCommitHash(build).substring(0, 7) // Short Version of the Hash
19+
successfulBuilds.put(build.number, commitHash)
2020
}
2121
lastSuccessfullBuild(build.getPreviousBuild(), successfulBuilds)
2222
}else {

0 commit comments

Comments
 (0)