Commit fba8a275 authored by Kim Meiser's avatar Kim Meiser 💬
Browse files

Versuche die Executables als Artefakt im Deploy-Step zum Download anzubieten.

parent ba298a78
Pipeline #812 passed with stages
in 49 seconds
......@@ -3,10 +3,12 @@ variables:
MSBUILD_PATH: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe'
XUNIT_PATH: packages\xunit.runner.console\2.4.1\tools\net472
UNITTEST_FOLDER: '.\tests\JeoParody.Test\bin\Release\net48'
EXECUTABLE: 'src\Jeoparody\bin\Release\Jeopardy.exe.*'
stages:
- build
- test
- deploy
build_job:
stage: build
......@@ -32,4 +34,18 @@ test_job:
script:
- '& "$env:XUNIT_PATH\xunit.console.exe" "$env:UNITTEST_FOLDER\Jeoparody.Test.dll"'
dependencies:
- build_job
\ No newline at end of file
- build_job
deploy_job:
stage: deploy
tags:
- dotnetframework
only:
- branches
script:
- 'echo "deploying..."'
artifacts:
name: 'JeoParody-$CI_COMMIT_SHA'
expire_in: 2 days
paths:
- '$env:EXECUTABLE'
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment