ci: Honor ARTIFACTS environment variable
This is set by the OpenShift Prow pod-utils: https://github.com/openshift/test-infra/blob/master/prow/pod-utilities.md Prep for having OSTree use that. Closes: #1930 Approved by: jlebon
This commit is contained in:
parent
985a141002
commit
569e09f509
|
|
@ -35,9 +35,11 @@ fi
|
||||||
copy_out_gdtr_artifacts() {
|
copy_out_gdtr_artifacts() {
|
||||||
# Keep this in sync with papr.yml
|
# Keep this in sync with papr.yml
|
||||||
# TODO; Split the main/clang builds into separate build dirs
|
# TODO; Split the main/clang builds into separate build dirs
|
||||||
|
local artifactdir
|
||||||
|
artifactdir=${ARTIFACTS:-${topdir}}
|
||||||
for x in test-suite.log config.log gdtr-results; do
|
for x in test-suite.log config.log gdtr-results; do
|
||||||
if test -e ${resultsdir}/${x}; then
|
if test -e ${resultsdir}/${x}; then
|
||||||
mv ${resultsdir}/${x} ${topdir}
|
mv ${resultsdir}/${x} ${artifactdir}
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue