From 2dbd51bdb1e6c5de39c9426a130c79e142fb337d Mon Sep 17 00:00:00 2001 From: FritzFlorian Date: Tue, 19 Mar 2019 20:25:44 +0100 Subject: [PATCH] Fix: add correct path for sanitizer.log artifact. --- .gitlab-ci.yml | 2 +- ci_scripts/run_thread_sanitizer.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 03a9c02..cd1b7ad 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,4 +24,4 @@ run_thread_sanitizer: ./ci_scripts/run_thread_sanitizer.sh artifacts: paths: - - sanitizer.log.* + - sanitizer.log diff --git a/ci_scripts/run_thread_sanitizer.sh b/ci_scripts/run_thread_sanitizer.sh index 7792d82..b2de4c3 100755 --- a/ci_scripts/run_thread_sanitizer.sh +++ b/ci_scripts/run_thread_sanitizer.sh @@ -10,9 +10,9 @@ TSAN_OPTIONS="log_path=sanitizer.log exitcode=1" ./bin/tests STATUS_CODE=$? # rename the output log... -mv ./sanitizer.log.* ../sanitizer.log +mv ./sanitizer.log.* ../thread-sanitizer.log if [[ $? != 0 ]]; then - echo "No sanitizer warnings." > ../sanitizer.log + echo "No sanitizer warnings." > ../thread-sanitizer.log fi exit $STATUS_CODE -- libgit2 0.26.0