Update .gitlab-ci.yml
This commit is contained in:
+1
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user