From: David ‘Bombe’ Roden Date: Mon, 30 Sep 2024 14:21:36 +0000 (+0200) Subject: 💚 Remove unnecessary plugins, fix unit test result collection X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=b63a65e5645517a80b4106ac17a7f87fc15e60c7;p=Sone.git 💚 Remove unnecessary plugins, fix unit test result collection --- diff --git a/Jenkinsfile b/Jenkinsfile index b8d026d..e058c32 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,7 +23,7 @@ pipeline { } post { always { - junit 'build/test-results/test/*.xml' + junit 'build/test-results/*/*.xml' } } } @@ -41,10 +41,8 @@ pipeline { jdk 'OpenJDK 8' } steps { - sh './gradlew jacocoTestReport findbugsMain countLines' + sh './gradlew jacocoTestReport' jacoco classPattern: 'build/classes/*/main', sourcePattern: '**/src/main/' - findbugs canComputeNew: false, defaultEncoding: '', excludePattern: '', healthy: '', includePattern: '', pattern: '**/findbugs/main.xml', unHealthy: '' - sloccountPublish encoding: '', pattern: 'build/reports/cloc/*.xml' } } }