]> git.ipfire.org Git - pakfire.git/commitdiff
jenkins: Move the asan logs to the root
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 22 Feb 2025 17:58:12 +0000 (17:58 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 22 Feb 2025 18:00:05 +0000 (18:00 +0000)
Because otherwise I am too stupid to find them.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jenkinsfile

index 37cee0dca31d03dfb6ff31e613d6e3f04f62d891..01f1ec952f5fa9bf204b1fea355bc8c056eb833a 100644 (file)
@@ -176,13 +176,13 @@ pipeline {
                                                                unstable {
                                                                        // Copy test logs into a special directory
                                                                        sh """
-                                                                               mkdir -pv tests/asan
+                                                                               mkdir -pv asan
                                                                                find tests -name "*.log" | xargs --no-run-if-empty \
-                                                                                       cp --verbose --parents --target-directory=tests/asan/
+                                                                                       cp --verbose --parents --target-directory=asan/
                                                                        """
 
                                                                        // Archive the logs only if the stage fails
-                                                                       archiveArtifacts artifacts: "tests/asan/**/*"
+                                                                       archiveArtifacts artifacts: "asan/**/*"
 
                                                                        echo "The test logs have been archived"
                                                                }