From 5308be9dfe8efc5341b5d33f62621241e05cf4af Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Thu, 25 May 2023 12:48:48 +0200 Subject: [PATCH] Fix log archive in stage3 Change-Id: If97fcc39cbc3e1fabd6c0bcf877dfac771a2ba1b Signed-off-by: garciadeblas --- jenkins/ci-pipelines/ci_stage_3.groovy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy index bdbc175b..2c2e008b 100644 --- a/jenkins/ci-pipelines/ci_stage_3.groovy +++ b/jenkins/ci-pipelines/ci_stage_3.groovy @@ -158,8 +158,7 @@ void archive_logs(Map remote) { sh 'rm -rf logs' sshCommand remote: remote, command: '''ls -al logs''' sshGet remote: remote, from: 'logs', into: '.', override: true - sh 'cp logs/* .' - sh 'cp logs/dags/* .' + sh 'cp logs/*.log logs/dags/*.log .' archiveArtifacts artifacts: '*.log' } -- 2.25.1