From 9c4399146323db7603d32d991b6b1073295024ab Mon Sep 17 00:00:00 2001 From: Whitney Armstrong <warmstrong@anl.gov> Date: Tue, 11 May 2021 04:26:50 +0000 Subject: [PATCH] Ci update --- .gitlab-ci.yml | 2 -- bin/build_detector.sh | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d414b72..8ec9638 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,4 @@ default: - tags: - - singularity before_script: - ls -lrth && pwd artifacts: diff --git a/bin/build_detector.sh b/bin/build_detector.sh index 83fe9c0..19e7ec8 100755 --- a/bin/build_detector.sh +++ b/bin/build_detector.sh @@ -35,7 +35,8 @@ if [ -d "${JUGGLER_DETECTOR}" ]; then fi echo "Fetching ${JUGGLER_DETECTOR}" git clone -b ${JUGGLER_DETECTOR_VERSION} --depth 1 https://eicweb.phy.anl.gov/EIC/detectors/${JUGGLER_DETECTOR}.git -[[ ! "$?" == "0" ]] || exit 1 +echo "$?" +[[ "$?" == "0" ]] || exit 1 rm -rf "${JUGGLER_DETECTOR}/.git" ## We need an up-to-date copy of the detector -- GitLab