]> git.ipfire.org Git - zone-sync.git/commitdiff
jenkins: Don't fail if we could not upload any test artifacts
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 18 May 2026 15:39:31 +0000 (15:39 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 18 May 2026 15:39:31 +0000 (15:39 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jenkinsfile

index 5a151a36b0e2498d7e8ba34e5d154ef80f034fd5..34f897d8ab5b7a307aa96e5bb141357019d3f7e6 100644 (file)
@@ -103,7 +103,8 @@ pipeline {
                                                                """
 
                                                                // Archive the logs only if the stage fails
-                                                               archiveArtifacts artifacts: "tests/${DISTRO}/${COMPILER}/**/*"
+                                                               archiveArtifacts artifacts: "tests/${DISTRO}/${COMPILER}/**/*",
+                                                                       allowEmptyArchive: true
 
                                                                echo "The test logs have been archived"
                                                        }