Skip to content

Commit

Permalink
Jenkinsfile.integration: collect artifacts
Browse files Browse the repository at this point in the history
Signed-off-by: Kyrylo Shatskyy <kyrylo.shatskyy@suse.com>
  • Loading branch information
Kyrylo Shatskyy committed May 3, 2023
1 parent f601008 commit ce388f8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Jenkinsfile.integration
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,16 @@ pipeline {
}
}
cleanup {
node("${testbed_node}") {
sh "mkdir artifacts"
sh """
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 ce388f8

Please sign in to comment.