You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2019/09/14 16:51:26 UTC
[maven-jenkins-env] branch master updated: Revert "Log unique
commits"
This is an automated email from the ASF dual-hosted git repository.
rfscholte pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-jenkins-env.git
The following commit(s) were added to refs/heads/master by this push:
new 22a4d1a Revert "Log unique commits"
22a4d1a is described below
commit 22a4d1a7af29ef12db0242de180096c5093a30f5
Author: rfscholte <rf...@apache.org>
AuthorDate: Sat Sep 14 18:51:20 2019 +0200
Revert "Log unique commits"
---
vars/jenkinsNotify.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vars/jenkinsNotify.groovy b/vars/jenkinsNotify.groovy
index 37f056d..bc8cd9a 100644
--- a/vars/jenkinsNotify.groovy
+++ b/vars/jenkinsNotify.groovy
@@ -94,7 +94,7 @@ def call(Map params = [:]) {
} else {
messageBody = messageBody + "\n\nChanges:\n";
for (def changeSet in currentBuild.changeSets) {
- for (def change in changeSet.unique{ a, b -> a.commitId <=> b.commitId }) {
+ for (def change in changeSet) {
messageBody = messageBody + "\n* ${change.msg.trim().replaceAll('\n','\n ')}"
authors += change.author.id
}