From f9003528ce2092d7f87c90bb3dd6e1e27c45a0b7 Mon Sep 17 00:00:00 2001 From: Ruben Abad Date: Wed, 14 Feb 2024 14:53:01 +0100 Subject: [PATCH] fix: saving all logs when tests fails --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 640c5f945..4d3691f6e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -189,12 +189,12 @@ pipeline sh 'DISPLAY= ./Dist/CarlaUE4.sh -nullrhi -RenderOffScreen --carla-rpc-port=3654 --carla-streaming-port=0 -nosound > CarlaUE4.log &' sh 'make smoke_tests ARGS="--xml --python-version=3.8 --target-wheel-platform=manylinux_2_27_x86_64"' sh 'make run-examples ARGS="localhost 3654"' - sh 'tar -czf CarlaUE4_logs.tar.gz Unreal/CarlaUE4/Saved/Logs/' } post { always { + sh 'tar -czf CarlaUE4_logs.tar.gz Unreal/CarlaUE4/Saved/Logs/' archiveArtifacts 'CarlaUE4.log' archiveArtifacts 'CarlaUE4_logs.tar.gz' junit 'Build/test-results/smoke-tests-*.xml'