You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2020/08/09 22:52:41 UTC

[logging-pipelines] branch master updated: Switch back to junit step

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

mattsicker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-pipelines.git


The following commit(s) were added to refs/heads/master by this push:
     new 4bd4003  Switch back to junit step
4bd4003 is described below

commit 4bd40030118c83f533213ebf69211bad718f9e6a
Author: Matt Sicker <bo...@gmail.com>
AuthorDate: Sun Aug 9 17:52:23 2020 -0500

    Switch back to junit step
---
 log4j/Jenkinsfile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/log4j/Jenkinsfile b/log4j/Jenkinsfile
index 83c5015..706828e 100644
--- a/log4j/Jenkinsfile
+++ b/log4j/Jenkinsfile
@@ -59,11 +59,11 @@ pipeline {
                 stage('Ubuntu') {
                     steps {
                         mvn '-Dmaven.test.failure.ignore=true verify'
+                        junit '**/target/*-reports/TEST-*.xml'
                         // TODO: would be nice to be able to include checkstyle, cpd, pmd, and spotbugs,
                         //       but current site build takes too long
                         recordIssues sourceCodeEncoding: 'UTF-8',
                                 tools: [
-                                    junitParser(id: 'linux', name: 'Linux Tests', pattern: '**/target/*-reports/TEST-*.xml', reportEncoding: 'UTF-8'),
                                     mavenConsole(),
                                     errorProne(),
                                     java(),
@@ -81,8 +81,7 @@ pipeline {
                         // also note that we don't need to use the jenkins system property here as it's ubuntu-specific
                         bat 'if exist %userprofile%\\.embedmongo\\ rd /s /q %userprofile%\\.embedmongo'
                         mvn '-Dmaven.test.failure.ignore=true verify'
-                        recordIssues sourceCodeEncoding: 'UTF-8',
-                                tools: [junitParser(id: 'windows', name: 'Windows Tests', pattern: '**/target/*-reports/TEST-*.xml', reportEncoding: 'UTF-8')]
+                        junit '**/target/*-reports/TEST-*.xml'
                     }
                 }
             }