Add kibanamachine support to Github PR comments

This commit is contained in:
Brian Seeders 2019-12-30 13:53:13 -05:00 committed by GitHub
parent b8046c7964
commit e1f9f71d0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,7 @@ def isPr() {
def getLatestBuildComment() {
return getComments()
.reverse()
.find { it.user.login == 'elasticmachine' && it.body =~ /<!--PIPELINE/ }
.find { (it.user.login == 'elasticmachine' || it.user.login == 'kibanamachine') && it.body =~ /<!--PIPELINE/ }
}
def getBuildInfoFromComment(commentText) {