From da9913be45630ba4ee1602102c9e7f6f580aa138 Mon Sep 17 00:00:00 2001 From: Itamar Turner-Trauring Date: Fri, 14 Aug 2020 10:47:55 -0400 Subject: [PATCH] Make sure it ends up in artifacts. --- misc/python3/ratchet.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/misc/python3/ratchet.sh b/misc/python3/ratchet.sh index b383ce199..72a6ac4ed 100755 --- a/misc/python3/ratchet.sh +++ b/misc/python3/ratchet.sh @@ -40,5 +40,9 @@ git diff -- "${tracking_filename}" > tracking.diff cat tracking.diff echo "=================================" +if [ -n "${ARTIFACTS}" ]; then + cp "${SUBUNITREPORTER_OUTPUT_PATH}" "$ARTIFACTS" +fi + echo "Exiting with code ${code} from ratchet.py." exit ${code}