diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d414b72f6c6e3c54619d0c9b9c025fd3d0263fde..8ec963819cc113d9bd824dd53df3f993c2ddfef6 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 83fe9c0dfaeb2b21548b3ca342d7c30f73890517..19e7ec8bfb3ba7b8d87ee871538b5a5b49c5add2 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