Skip to content
Snippets Groups Projects

Product/1287 dotnet5 sharepoint

Merged Petar Hristov requested to merge Product/1287-dotnet5Sharepoint into Sprint/2021-03
11 files
+ 40
1866
Compare changes
  • Side-by-side
  • Inline
Files
11
+ 18
49
 
include:
 
- project: coscine/tools/gitlab-ci-templates
 
file:
 
- /dotnet.yml
 
stages:
stages:
 
- build
- test
- test
- release
- publish
- releasetrigger
 
variables:
 
DOTNET_MAIN_PROJECT_FOLDER: Notices
cake:Test:
build-branch:
stage: test
extends: .build-branch
script:
- PowerShell .\build.ps1 -Target Test -Configuration Debug
variables:
GIT_STRATEGY: clone
artifacts:
reports:
junit: "./Artifacts/TestResults.xml"
paths:
- "./Artifacts/*"
except:
- master
- tags
cake:Release:
test:
stage: release
extends: .test
script:
- PowerShell .\build.ps1 -Target Release -Configuration Release --nugetApiKey="${NUGET_API_KEY}"
variables:
GIT_STRATEGY: clone
dependencies:
- cake:Test
artifacts:
paths:
- "./Artifacts/*"
only:
- tags
cake:Prerelease:
publish-gitlab-release:
stage: release
extends: .publish-gitlab-release
script:
- PowerShell .\build.ps1 -Target Prerelease -Configuration Release
variables:
GIT_STRATEGY: clone
dependencies:
- cake:Test
artifacts:
paths:
- "./Artifacts/*"
except:
- tags
- master
cake:GitlabRelease:
publish-master-release:
stage: releasetrigger
extends: .publish-master-release
script:
\ No newline at end of file
- PowerShell .\build.ps1 -Target GitlabRelease --GitlabProjectPath="${CI_PROJECT_PATH}" --gitlabProjectId="${CI_PROJECT_ID}" --gitlabToken="${GITLAB_TOKEN}"
only:
- master
\ No newline at end of file
Loading