diff options
-rw-r--r-- | test_config.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test_config.sh b/test_config.sh index da541b3..7746a6d 100644 --- a/test_config.sh +++ b/test_config.sh @@ -3,4 +3,9 @@ test_program_version="$(git describe --always --tags --long)" test_data="${RTDIR}/data" test_data_remote=https://nx.astroconda.org/repository test_data_remote_auth=${test_data_remote_auth:-} -test_data_upload="generic/spb-splitfits/${test_program_version}" +test_data_upload="generic/spb-splitfits" +if [[ $CIRCLECI == "true" ]]; then + test_data_upload="${test_data_upload}/ci/${CIRCLE_BRANCH}_${CIRCLE_JOB}/${CIRCLE_BUILD_NUM}/${test_program_version}" +else + test_data_upload="${test_data_upload}/user/${test_program_version}" +fi |