]> git.ipfire.org Git - collecty.git/commitdiff
jenkins: Don't fail if the static analyzer didn't find any issues
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 30 Sep 2025 08:36:09 +0000 (08:36 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 30 Sep 2025 08:36:09 +0000 (08:36 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jenkinsfile

index a69e98c9d9928b747ee077f1c8d6935707cf6e0f..a26529ed11c1af8716842507db5f83a9d1c369be 100644 (file)
@@ -173,7 +173,8 @@ pipeline {
 
                                                stage("Publish Report") {
                                                        steps {
-                                                               archiveArtifacts artifacts: "scan-build-output/**/*"
+                                                               archiveArtifacts artifacts: "scan-build-output/**/*", \
+                                                                       allowEmptyArchive: true
                                                        }
                                                }
                                        }