Fix log archive in stage3
Change-Id: If97fcc39cbc3e1fabd6c0bcf877dfac771a2ba1b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy
index bdbc175..2c2e008 100644
--- a/jenkins/ci-pipelines/ci_stage_3.groovy
+++ b/jenkins/ci-pipelines/ci_stage_3.groovy
@@ -158,8 +158,7 @@
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'
}