You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by st...@apache.org on 2018/01/02 17:15:45 UTC
[maven-jenkins-lib] branch master updated: take 2 on changelog
optimization
This is an automated email from the ASF dual-hosted git repository.
stephenc 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 b412429 take 2 on changelog optimization
b412429 is described below
commit b41242943698bb123b646a805f006e9a17b07fac
Author: Stephen Connolly <st...@gmail.com>
AuthorDate: Tue Jan 2 17:15:40 2018 +0000
take 2 on changelog optimization
---
vars/asfMavenTlpStdBuild.groovy | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/vars/asfMavenTlpStdBuild.groovy b/vars/asfMavenTlpStdBuild.groovy
index af13964..c908294 100644
--- a/vars/asfMavenTlpStdBuild.groovy
+++ b/vars/asfMavenTlpStdBuild.groovy
@@ -67,7 +67,12 @@ def call(Map params = [:]) {
stage("Checkout ${stageId}") {
try {
dir('m') {
- checkout(changelog: !disablePublishers, scm: scm)
+ if (disablePublishers) {
+ // second and subsequent parallel executions should skip changelog
+ checkout(changelog: false, scm: scm)
+ } else {
+ checkout scm
+ }
}
} catch (Throwable e) {
if (!failFast) {
--
To stop receiving notification emails like this one, please contact
['"commits@maven.apache.org" <co...@maven.apache.org>'].