diff --git a/ci-scripts/Jenkinsfile-nrue b/ci-scripts/Jenkinsfile-nrue index 610e2867f0..e183a47b3e 100644 --- a/ci-scripts/Jenkinsfile-nrue +++ b/ci-scripts/Jenkinsfile-nrue @@ -229,6 +229,10 @@ pipeline { // Zipping all archived log files sh "mkdir test_logs" sh "mv *.log* test_logs || true" + // Zip all log files matching cmake_targets/{*.log*,log/*} into test_logs_XXXX.zip + if (fileExists('../cmake_targets/log')) { + sh "mv ../cmake_targets/log/* test_logs || true" + } sh "zip -r -qq test_logs_${env.BUILD_ID}.zip *test_log*/" sh "rm -rf *test_log*/" if (fileExists("test_logs_${env.BUILD_ID}.zip")) { diff --git a/ci-scripts/Jenkinsfile-physim-deploy b/ci-scripts/Jenkinsfile-physim-deploy index c90b254242..163a5f58bb 100644 --- a/ci-scripts/Jenkinsfile-physim-deploy +++ b/ci-scripts/Jenkinsfile-physim-deploy @@ -221,6 +221,10 @@ pipeline { // Zipping all archived log files sh "mkdir test_logs" sh "mv *.log* test_logs || true" + // Zip all log files matching cmake_targets/{*.log*,log/*} into test_logs_XXXX.zip + if (fileExists('../cmake_targets/log')) { + sh "mv ../cmake_targets/log/* test_logs || true" + } sh "zip -r -qq test_logs_${env.BUILD_ID}.zip *test_log*/" sh "rm -rf *test_log*/" if (fileExists("test_logs_${env.BUILD_ID}.zip")) {