From: garciadeblas Date: Thu, 25 May 2023 10:48:48 +0000 (+0200) Subject: Fix log archive in stage3 X-Git-Tag: release-v14.0-start~47 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F59%2F13459%2F1;p=osm%2Fdevops.git Fix log archive in stage3 Change-Id: If97fcc39cbc3e1fabd6c0bcf877dfac771a2ba1b Signed-off-by: garciadeblas --- 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' }