From: Mark Beierl Date: Mon, 5 Jun 2023 19:56:48 +0000 (-0400) Subject: Fixing log collection X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=87feb6d8f0b1f16ff9e2bc693df2269bb562d9c6;p=osm%2Fdevops.git Fixing log collection Change-Id: Ib223ed4b6862a2b50c46f1ceb0f2320a422dcb83 Signed-off-by: Mark Beierl --- diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy index 29e438a2..2c2e008b 100644 --- a/jenkins/ci-pipelines/ci_stage_3.groovy +++ b/jenkins/ci-pipelines/ci_stage_3.groovy @@ -158,7 +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/*.log logs/dags/*.log .' archiveArtifacts artifacts: '*.log' }