Skip to content

Commit

Permalink
moved the fix of INFRA-18734 to jenkinsNotify
Browse files Browse the repository at this point in the history
  • Loading branch information
Tibor17 committed Aug 2, 2019
1 parent ef7ce02 commit c6694ed
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,7 @@ timeout(time: 12, unit: 'HOURS') {
currentBuild.result = 'FAILURE'
throw e
} finally {
def changes = currentBuild?.changeSets
def authors = !changes || changes.isEmpty() ? [] : changes.last().toList().collect { it.author.toString() }.unique()
println("The author of the last change: ${authors}")
if (!changes || !authors.contains('github')) jenkinsNotify()
jenkinsNotify()
}
}

Expand Down

0 comments on commit c6694ed

Please sign in to comment.