Fixing log collection 04/13504/1
authorMark Beierl <mark.beierl@canonical.com>
Mon, 5 Jun 2023 19:56:48 +0000 (15:56 -0400)
committerMark Beierl <mark.beierl@canonical.com>
Mon, 5 Jun 2023 19:56:48 +0000 (15:56 -0400)
Change-Id: Ib223ed4b6862a2b50c46f1ceb0f2320a422dcb83
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
jenkins/ci-pipelines/ci_stage_3.groovy

index 29e438a..2c2e008 100644 (file)
@@ -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'
 }