From: Michael Tremer Date: Sat, 26 Oct 2024 13:39:22 +0000 (+0000) Subject: jenkins: Keep directory structure of the test logs X-Git-Tag: 0.9.30~819 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4e550d9c5bd98e90d1f5eed4c791bb45adf4f2a7;p=pakfire.git jenkins: Keep directory structure of the test logs Signed-off-by: Michael Tremer --- diff --git a/Jenkinsfile b/Jenkinsfile index 10642ab22..90b8adca2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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