💚 Remove unnecessary plugins, fix unit test result collection
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 30 Sep 2024 14:21:36 +0000 (16:21 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 1 Oct 2024 09:20:51 +0000 (11:20 +0200)
Jenkinsfile

index b8d026d..e058c32 100644 (file)
@@ -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'
             }
         }
     }