From 5df941e02b2f33b6bec8a2e17a0caac9ea3af21c Mon Sep 17 00:00:00 2001 From: LO Kam Tao Leo Date: Sat, 23 Jul 2022 20:27:38 +0100 Subject: [PATCH 1/3] Try to archive artifacts --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index b187c67..c46d51c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,6 +22,7 @@ pipeline{ post{ success{ junit 'target/surefire-reports/**/*.xml' + archiveArtifacts artifacts: '*.jar, *.pom', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true } } } From 6f6f7b61226367e5ef84264fa4b76e30cb4e850c Mon Sep 17 00:00:00 2001 From: LO Kam Tao Leo Date: Sat, 23 Jul 2022 20:29:39 +0100 Subject: [PATCH 2/3] Try to fix Jenkinsfile issue --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index c46d51c..97f871b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,7 +22,7 @@ pipeline{ post{ success{ junit 'target/surefire-reports/**/*.xml' - archiveArtifacts artifacts: '*.jar, *.pom', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true + archiveArtifacts artifacts: 'target/*.jar, target/*.pom', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true } } } From eab60906db11661830ff3e9c3dc46d4cd53a1bd4 Mon Sep 17 00:00:00 2001 From: LO Kam Tao Leo Date: Sat, 23 Jul 2022 20:38:29 +0100 Subject: [PATCH 3/3] Try to fix Jenkinsfile issue --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 97f871b..7b04363 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,7 +22,7 @@ pipeline{ post{ success{ junit 'target/surefire-reports/**/*.xml' - archiveArtifacts artifacts: 'target/*.jar, target/*.pom', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true + archiveArtifacts artifacts: 'target/*.jar, *.pom', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true } } }