]> git.ipfire.org Git - pakfire.git/commitdiff
jenkins: Upload asan logs only when tests have failed
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 22 Feb 2025 17:39:42 +0000 (17:39 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 22 Feb 2025 17:39:42 +0000 (17:39 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jenkinsfile

index fcdee602b44fcff5cd627ee7d12344193daa4452..37cee0dca31d03dfb6ff31e613d6e3f04f62d891 100644 (file)
@@ -173,7 +173,7 @@ pipeline {
                                                        }
 
                                                        post {
-                                                               failure {
+                                                               unstable {
                                                                        // Copy test logs into a special directory
                                                                        sh """
                                                                                mkdir -pv tests/asan