This is an automated email from the ASF dual-hosted git repository.

juanpablo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jspwiki.git

commit eb9a7c525a89858fcfff0d64802bcef8edacadfc
Author: juanpablo <juanpa...@apache.org>
AuthorDate: Tue Nov 10 20:46:02 2020 +0100

    Removed unused publishers from Jenkinsfile in order to speed up the CI 
build.
---
 Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 58f3954..4674164 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -37,7 +37,7 @@ try {
         stage( 'build source' ) {
             dir( build ) {
                 git url: buildRepo, poll: true
-                withMaven( jdk: buildJdk, maven: buildMvn ) {
+                withMaven( jdk: buildJdk, maven: buildMvn, publisherStrategy: 
'EXPLICIT', options: [ jacocoPublisher(), junitPublisher() ] ) {
                     withCredentials( [ string( credentialsId: 
'sonarcloud-jspwiki', variable: 'SONAR_TOKEN' ) ] ) {
                         def sonarOptions = "-Dsonar.projectKey=jspwiki-builder 
-Dsonar.organization=apache -Dsonar.host.url=https://sonarcloud.io 
-Dsonar.login=$SONAR_TOKEN"
                         echo 'Will use SonarQube instance at 
https://sonarcloud.io'
@@ -53,7 +53,7 @@ try {
         }
 
         stage( 'build website' ) {
-            withMaven( jdk: 'jdk_1.8_latest', maven: buildMvn ) {
+            withMaven( jdk: 'jdk_1.8_latest', maven: buildMvn, 
publisherStrategy: 'EXPLICIT' ) {
                 dir( jbake ) {
                     git branch: jbake, url: siteRepo, credentialsId: creds, 
poll: false
                     sh "cp ../$build/ChangeLog.md 
./src/main/config/changelog.md"

Reply via email to