generated from kritikos-io/templates-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathazure-pipelines.yml
75 lines (72 loc) · 1.89 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
resources:
repositories:
- repository: self
checkoutOptions:
submodules: true
lfs: true
- repository: templates
type: github
name: kritikos-io/PipelineTemplates
endpoint: kritikos-io
trigger:
batch: true
branches:
include:
- master
- develop
- feature/*
- bugfix/*
- release/*
paths:
include:
- azure-pipelines.yml
- src/*
- tests/*
variables:
- group: Environment
- group: DotNet
- group: ApiKeys
- name: SONAR_PROJECT
value: kritikos-io_Configuration.Persistence
stages:
- template: /azure-pipelines/stages/general/00. gitversion.yml@templates
parameters:
updateAssemblyInfo: true
createTag: true
- template: /azure-pipelines/stages/dotnet/00. build.yml@templates
parameters:
useCache: true
configuration: Release
updateAssemblyInfo: true
publishWeb: false
buildOnLinux: true
buildOnWindows: true
packOnLinux: true
- template: /azure-pipelines/stages/dotnet/01. test.yml@templates
parameters:
useCache: true
configuration: Debug
testOnLinux: true
testOnWindows: true
coverageOnLinux: true
sonarOnLinux: true
codecovOnLinux: true
coverallsOnLinux: true
- template: /azure-pipelines/stages/dotnet/03. intellicode.yml@templates
parameters:
useCache: true
updateAssemblyInfo: true
branch: develop
- template: /azure-pipelines/stages/dotnet/02. nuget-deploy.yml@templates
parameters:
packagesToPush: '*.nupkg'
artifact: nuget
environmentPullRequest: Pull Requests
jobNamePullRequest: PullRequests
feedNamePullRequest: NugetKritikos
environmentRelease: Release
jobNameRelease: Release
feedNameRelease: NugetOrgKritikos
tagOnGitMaster: true
tagOnGitDevelop: true
gitHubConnection: github.com_akritikos