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/04/04 06:25:21 UTC
[logging-log4j2] branch master updated: Simplify reporting
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-log4j2.git
The following commit(s) were added to refs/heads/master by this push:
new dbff011 Simplify reporting
dbff011 is described below
commit dbff011b19c28f8653dee9f0fe5320bf86026889
Author: Matt Sicker <bo...@gmail.com>
AuthorDate: Sat Apr 4 01:23:16 2020 -0500
Simplify reporting
---
Jenkinsfile | 18 +++---------------
1 file changed, 3 insertions(+), 15 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 5c9ad46..96e6d9b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -22,7 +22,6 @@ pipeline {
buildDiscarder logRotator(numToKeepStr: '10')
timeout time: 2, unit: 'HOURS'
parallelsAlwaysFailFast()
- compressBuildLog()
durabilityHint 'PERFORMANCE_OPTIMIZED'
}
agent none
@@ -36,22 +35,11 @@ pipeline {
maven 'Maven 3 (latest)'
}
steps {
- sh '''
- mvn -B -fn -t toolchains-jenkins-ubuntu.xml -Djenkins -V clean install
- mvn -B -t toolchains-jenkins-ubuntu.xml -Djenkins -V site
- '''
+ sh 'mvn -B -fn -t toolchains-jenkins-ubuntu.xml -Djenkins -V clean install'
}
post {
- success {
- archiveArtifacts artifacts: '**/*.jar', fingerprint: true
- recordIssues tools: [cpd(pattern: '**/target/cpd.xml'),
- checkStyle(pattern: '**/target/checkstyle-result.xml'),
- pmdParser(pattern: '**/target/pmd.xml'),
- spotBugs(pattern: '**/target/spotbugsXml.xml')],
- sourceCodeEncoding: 'UTF-8',
- referenceJobName: 'log4j/master'
- }
always {
+ archiveArtifacts artifacts: '**/*.jar', fingerprint: true
junit '**/*-reports/*.xml'
recordIssues enabledForFailure: true,
tool: mavenConsole(),
@@ -60,7 +48,7 @@ pipeline {
tool: errorProne(),
referenceJobName: 'log4j/master'
recordIssues enabledForFailure: true,
- tools: [java(), javaDoc()],
+ tool: java(),
sourceCodeEncoding: 'UTF-8',
referenceJobName: 'log4j/master'
recordIssues enabledForFailure: true,