summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2019-10-11 20:25:48 +0000
committerAtomic Bot <atomic-devel@projectatomic.io>2019-10-11 21:00:30 +0000
commit569e09f509a15ac26c93fefdc5acd5620cdd826a (patch)
treed83816f79251f29227bda3122a039baa75dcafec /ci
parent985a14100295c99d0c6d712bfbee0ec52a3a1601 (diff)
downloadostree-569e09f509a15ac26c93fefdc5acd5620cdd826a.tar.gz
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
Diffstat (limited to 'ci')
-rwxr-xr-xci/build-check.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/ci/build-check.sh b/ci/build-check.sh
index bd0686bd..2b11b4d3 100755
--- a/ci/build-check.sh
+++ b/ci/build-check.sh
@@ -35,9 +35,11 @@ fi
copy_out_gdtr_artifacts() {
# Keep this in sync with papr.yml
# 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
if test -e ${resultsdir}/${x}; then
- mv ${resultsdir}/${x} ${topdir}
+ mv ${resultsdir}/${x} ${artifactdir}
fi
done
}