Nope, it is not

[Pipeline] echo
WARNING: Could not determine JIRA issues: hudson.plugins.git.GitChangeSetList
[Pipeline] emailext

Caused: java.io.NotSerializableException: hudson.plugins.git.GitChangeSetList


On Fri, 02 Aug 2019 21:40:27 +0200, Tibor Digaňa <tibor.dig...@googlemail.com.invalid> wrote:

Try now!
Should be fine.

On Fri, Aug 2, 2019 at 9:10 PM Robert Scholte <rfscho...@apache.org> wrote:

There's a problem with this commit, see
https://builds.apache.org/job/maven-box/job/maven-compiler-plugin/job/github-19/1/console
[
https://builds.apache.org/job/maven-box/job/maven-compiler-plugin/job/github-19/1/console
]

java.util.NoSuchElementException: Cannot access last() element from an
empty List
On 2-8-2019 17:11:06, tibordig...@apache.org <tibordig...@apache.org>
wrote:
This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-jenkins-lib.git


The following commit(s) were added to refs/heads/master by this push:
new 1d7b4bc [INFRA-18734] Jenkins builds fail on email notifications due
to unknown user ID "github"
1d7b4bc is described below

commit 1d7b4bc7dc060e412f3bd0d238802fc01ef8937e
Author: tibordigana
AuthorDate: Fri Aug 2 17:09:58 2019 +0200

[INFRA-18734] Jenkins builds fail on email notifications due to unknown
user ID "github"
---
vars/asfMavenTlpPlgnBuild.groovy | 5 ++++-
vars/asfMavenTlpStdBuild.groovy | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/vars/asfMavenTlpPlgnBuild.groovy
b/vars/asfMavenTlpPlgnBuild.groovy
index ae610ef..a3e9007 100644
--- a/vars/asfMavenTlpPlgnBuild.groovy
+++ b/vars/asfMavenTlpPlgnBuild.groovy
@@ -99,7 +99,10 @@ def call(Map params = [:]) {
echo "***** FAST FAILURE *****\n\nFast failure triggered by
${taskContext.failingFast}\n\n***** FAST FAILURE *****"
}
stage("Notifications") {
- jenkinsNotify()
+ def isFirstBuild = currentBuild == null || currentBuild.changeSets ==
null
+ def authors = isFirstBuild ? [] :
currentBuild.changeSets.last().toList().collect { it.author.toString()
}.unique()
+ println("The author of the last change: ${authors}")
+ if (isFirstBuild || !authors.contains('github')) jenkinsNotify()
}
}
}
diff --git a/vars/asfMavenTlpStdBuild.groovy
b/vars/asfMavenTlpStdBuild.groovy
index b0d1d0d..d906adf 100644
--- a/vars/asfMavenTlpStdBuild.groovy
+++ b/vars/asfMavenTlpStdBuild.groovy
@@ -179,7 +179,10 @@ def call(Map params = [:]) {
echo "***** FAST FAILURE *****\n\nFast failure triggered by
${failingFast}\n\n***** FAST FAILURE *****"
}
stage("Notifications") {
- jenkinsNotify()
+ def isFirstBuild = currentBuild == null || currentBuild.changeSets ==
null
+ def authors = isFirstBuild ? [] :
currentBuild.changeSets.last().toList().collect { it.author.toString()
}.unique()
+ println("The author of the last change: ${authors}")
+ if (isFirstBuild || !authors.contains('github')) jenkinsNotify()
}
}
}



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to