Skip to content

Commit

Permalink
ISPN-8167 Archive debug logs in CI
Browse files Browse the repository at this point in the history
Compress logs before archiving them
  • Loading branch information
danberindei committed Aug 8, 2017
1 parent 34acdf4 commit 48722b4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Jenkinsfile
Expand Up @@ -47,6 +47,9 @@ pipeline {
junit testResults: '**/target/*-reports*/*.xml',
testDataPublishers: [[$class: 'ClaimTestDataPublisher']],
healthScaleFactor: 100

sh 'zip logs-${BRANCH_NAME}-${BUILD_NUMBER}.zip $(find . -name target -prune -o -name \'*.log\' -print)'
archiveArtifacts allowEmptyArchive: true, artifacts: 'logs*.zip'
}
}

Expand Down

0 comments on commit 48722b4

Please sign in to comment.