From: Michael Tremer Date: Sat, 22 Feb 2025 17:39:42 +0000 (+0000) Subject: jenkins: Upload asan logs only when tests have failed X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1f3b2a860b6fc3453e51a6d1009319dc06a947c;p=pakfire.git jenkins: Upload asan logs only when tests have failed Signed-off-by: Michael Tremer --- diff --git a/Jenkinsfile b/Jenkinsfile index fcdee602..37cee0dc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -173,7 +173,7 @@ pipeline { } post { - failure { + unstable { // Copy test logs into a special directory sh """ mkdir -pv tests/asan