This is an automated email from the ASF dual-hosted git repository. matthieu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 5c76c7271db7e890ad138646860f173f5375a56e Author: Jean Helou <[email protected]> AuthorDate: Thu Jan 14 08:52:17 2021 +0100 JAMES-3225 increases artifact and build results retention --- Jenkinsfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4f83cce..782f4e5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -50,7 +50,7 @@ pipeline { // When we have test-fails e.g. we don't need to run the remaining steps skipStagesAfterUnstable() buildDiscarder( - logRotator(artifactNumToKeepStr: '5', numToKeepStr: '10') + logRotator(artifactNumToKeepStr: '10', numToKeepStr: '30') ) disableConcurrentBuilds() } @@ -93,7 +93,7 @@ pipeline { echo 'Running tests' // all tests run is very very long (10 hours on Apache Jenkins) sh 'mvn -B -e -fae test ' - } + } post { always { junit(testResults: '**/surefire-reports/*.xml', allowEmptyResults: false) @@ -115,6 +115,7 @@ pipeline { junit(testResults: '**/surefire-reports/*.xml', allowEmptyResults: true) junit(testResults: '**/failsafe-reports/*.xml', allowEmptyResults: true) archiveArtifacts artifacts: '**/surefire-reports/*.dumpstream' , fingerprint: true + } } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
