tests: Save osbuild-composer.repo file under artifacts
makes it easier to grab if we need it for manual testing or in case one needs to download the RPMs from Schutzbot
This commit is contained in:
parent
9e2e009ac8
commit
b5a1d89e45
1 changed files with 4 additions and 1 deletions
5
schutzbot/Jenkinsfile
vendored
5
schutzbot/Jenkinsfile
vendored
|
|
@ -949,10 +949,13 @@ void preserve_logs(test_slug) {
|
|||
// The workspace directory is not used everywhere, tests use temporary directory under /tmp/logs.
|
||||
sh "mkdir -p ${test_slug} && find /tmp/logs/ -name '*.log' -exec mv {} ${test_slug}/ \\; || true"
|
||||
|
||||
// Artifact the repo file.
|
||||
sh "mkdir -p ${test_slug} && cp /etc/yum.repos.d/osbuild*.repo ${test_slug}/ || true"
|
||||
|
||||
// Artifact the logs.
|
||||
archiveArtifacts (
|
||||
allowEmptyArchive: true,
|
||||
artifacts: "${test_slug}/*.log,${test_slug}/*.jpg"
|
||||
artifacts: "${test_slug}/*.log,${test_slug}/*.jpg,${test_slug}/*.repo"
|
||||
)
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue