Update .gitlab-ci.yml

This commit is contained in:
gitlab
2021-03-24 16:11:55 +00:00
parent 042acf61e8
commit 76053e676b
+1 -5
View File
@@ -13,10 +13,8 @@ before_script:
build_job:
stage: build
only:
- developer #this branch will run on GitLab Runner and can change it.
script:
- '& "\$env:MSBUILD_PATH" LPA/LPA.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ '
- '& "\$env:MSBUILD_PATH" LPA/LPA.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/'
artifacts:
expire_in: 365 days #artifcats will be stored only 365 days after this it will expire
@@ -26,7 +24,5 @@ build_job:
deploy_job:
stage: deploy
only:
- developer #this branch will run on GitLab Runner and can change it.
script:
- 'xcopy /y /s ".\sourcecode\project.sln\bin\Release\Publish\*.*" "C:\solutionDir"' #Path where you want to store the solution