Merge branch 'patch-40' into 'master'

Update dotNet test task to upload test results on failure

See merge request gitlab-org/gitlab-ce!24591
This commit is contained in:
Grzegorz Bizon 2019-02-08 09:27:20 +00:00
commit 1d8d64dd62
1 changed files with 1 additions and 0 deletions

View File

@ -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