summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2019-02-08 09:27:20 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2019-02-08 09:27:20 +0000
commit1d8d64dd62ca2b586dfe624896a2b423a53a922b (patch)
tree5f7efc66bcadc3df664ef17104f327fe32756128 /lib
parenta5561e7434873f4e2c8cc5c210b3781236315cdd (diff)
parentdbbe36ef1b7ea8e415c97ddc6c271f83d9d85364 (diff)
downloadgitlab-ce-1d8d64dd62ca2b586dfe624896a2b423a53a922b.tar.gz
Merge branch 'patch-40' into 'master'
Update dotNet test task to upload test results on failure See merge request gitlab-org/gitlab-ce!24591
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/ci/templates/dotNET.gitlab-ci.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/ci/templates/dotNET.gitlab-ci.yml b/lib/gitlab/ci/templates/dotNET.gitlab-ci.yml
index fc3d4ecdbba..25a32ba0f74 100644
--- a/lib/gitlab/ci/templates/dotNET.gitlab-ci.yml
+++ b/lib/gitlab/ci/templates/dotNET.gitlab-ci.yml
@@ -57,6 +57,7 @@ test_job:
script:
- '& "$env:NUNIT_PATH" ".\$env:TEST_FOLDER\Tests.dll"' # running NUnit tests
artifacts:
+ when: always # save test results even when the task fails
expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on
paths:
- '.\TestResult.xml' # saving NUnit results to copy to deploy folder