💚 Fix some path specifications
authorDavid Roden <github-a8in@qsheltier.de>
Sun, 11 May 2025 08:52:51 +0000 (10:52 +0200)
committerDavid Roden <github-a8in@qsheltier.de>
Sun, 11 May 2025 08:52:51 +0000 (10:52 +0200)
Jenkinsfile

index f57bcd7..e84b7dd 100644 (file)
@@ -27,7 +27,7 @@ pipeline {
             }
             post {
                 always {
-                    junit 'target/surefire-reports/*.xml'
+                    junit '**/target/surefire-reports/*.xml'
                     recordCoverage(tools: [[parser: 'JACOCO', pattern: '**/jacoco.xml']])
                 }
             }
@@ -39,8 +39,8 @@ pipeline {
             steps {
                 configFileProvider([configFile(fileId: 'fb50fa11-48a8-44b8-84fd-e11f06ab1067', targetLocation: 'toolchains.xml')]) {
                     sh './mvnw -t toolchains.xml -DskipTests=true package'
-                    archiveArtifacts artifacts: 'target/*.jar', fingerprint: true
-                    javadoc javadocDir: 'target/apidocs', keepAll: true
+                    archiveArtifacts artifacts: '**/target/*.jar', fingerprint: true
+                    javadoc javadocDir: '**/target/apidocs', keepAll: true
                 }
             }
         }