Skip to content

Commit

Permalink
Merge pull request #695 from kshtsk/wip-collect-artifacts
Browse files Browse the repository at this point in the history
Jenkinsfile.integration: collect artifacts
  • Loading branch information
kshtsk authored May 4, 2023
2 parents f601008 + 0529441 commit d6b4326
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Jenkinsfile.integration
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,17 @@ pipeline {
}
}
cleanup {
node("${testbed_node}") {
sh """
source venv/bin/activate
mkdir artifacts
sesdev scp -r mini master:/var/log/ceph artifacts/ || true
sesdev scp -r mini master:/var/log/salt artifacts/ || true
sesdev scp mini master:/var/log/ceph-salt.log artifacts/ || true
"""
archiveArtifacts artifacts: 'artifacts/**/*', allowEmptyArchive: true
}
node("${compute_node}") {
retry(10) {
sh """
Expand Down

0 comments on commit d6b4326

Please sign in to comment.