forked from RocketSurgeonsGuild/Marten.Extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
53 lines (49 loc) · 1.2 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
trigger:
branches:
include:
- master
- refs/tags/*
pr:
autoCancel: true
branches:
include:
- master
resources:
repositories:
- repository: rsg
type: github
name: RocketSurgeonsGuild/AzureDevopsTemplates
ref: refs/tags/v0.5.9
endpoint: github
variables:
Configuration: Release
Verbosity: Normal
DotNetVersion: "2.2.300"
DotNet3Version: "3.0.100-preview6-012264"
CakeVersion: "0.33.0"
NuGetVersion: "5.1.0"
Coverage: "$(Agent.BuildDirectory)/c"
VstsCoverage: "$(Coverage)"
Artifacts: $(Build.ArtifactStagingDirectory)
VstsArtifacts: "$(Artifacts)"
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "true"
jobs:
- job: GitVersion
pool:
vmImage: "VS2017-Win2016"
steps:
- template: gitversion/store.yml@rsg
parameters:
NuGetVersion: $(NuGetVersion)
- template: pipeline/cake-job.yml@rsg
parameters:
name: 'Linux'
dependsOn: GitVersion
vmImage: "Ubuntu-16.04"
pushNuget: true
Configuration: $(Configuration)
Verbosity: $(Verbosity)
CakeVersion: $(CakeVersion)
DotNetVersion: $(DotNetVersion)
DotNet3Version: $(DotNet3Version)
NuGetVersion: $(NuGetVersion)