]> git.ipfire.org Git - pakfire.git/commitdiff
jenkins: Keep directory structure of the test logs
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 26 Oct 2024 13:39:22 +0000 (13:39 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 26 Oct 2024 13:39:22 +0000 (13:39 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jenkinsfile

index 10642ab22e86757f26d5694adfdafc786dfa099d..90b8adca24998b3c164766cbd8223c3b0571dad5 100644 (file)
@@ -224,7 +224,7 @@ pipeline {
                                                                // Copy test logs into a special directory
                                                                sh """
                                                                        mkdir -pv tests/${DISTRO}/${COMPILER}
-                                                                       cp -v tests/*/*.log tests/${DISTRO}/${COMPILER}/
+                                                                       cp --parents -v tests/*/*.log tests/${DISTRO}/${COMPILER}/
                                                                """
 
                                                                // Archive the logs only if the stage fails