From 4e550d9c5bd98e90d1f5eed4c791bb45adf4f2a7 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 26 Oct 2024 13:39:22 +0000 Subject: [PATCH] jenkins: Keep directory structure of the test logs Signed-off-by: Michael Tremer --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5