This is an automated email from the ASF dual-hosted git repository.
olamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-jenkins-lib.git
The following commit(s) were added to refs/heads/master by this push:
new b9e7b3c enabled some publishers per default
b9e7b3c is described below
commit b9e7b3c5379be3210f48e418843ad53397c1b854
Author: olivier lamy <[email protected]>
AuthorDate: Sat Dec 29 19:34:32 2018 +1000
enabled some publishers per default
Signed-off-by: olivier lamy <[email protected]>
---
vars/asfStandardBuild.groovy | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/vars/asfStandardBuild.groovy b/vars/asfStandardBuild.groovy
index 7e0e8c9..bb7755c 100644
--- a/vars/asfStandardBuild.groovy
+++ b/vars/asfStandardBuild.groovy
@@ -26,11 +26,18 @@ def call(Map params = [:]) {
buildDiscarder(logRotator(numToKeepStr: '5', artifactNumToKeepStr: '3'))
])
- // now determine the matrix of parallel builds
+ // now determine params
def jdk = params.containsKey('jdk') ? params.jdk : 'JDK 1.8 (latest)'
def cmdline = params.containsKey('cmdline') ? params.cmdline : 'clean
install'
def mvnName = params.containsKey('mvnName') ? params.mvnName : 'Maven 3.5.2'
- def publishers = params.containsKey('publishers') ? params.publishers : []
+
+
+ def defaultPublishers = [artifactsPublisher(disabled: false),
junitPublisher(ignoreAttachments: false, disabled: false),
+ findbugsPublisher(disabled: true),
openTasksPublisher(disabled: true),
+ dependenciesFingerprintPublisher(disabled: false),
invokerPublisher(disabled: true),
+ pipelineGraphPublisher(disabled: false)]
+
+ def publishers = params.containsKey('publishers') ? params.publishers :
defaultPublishers
pipeline {