forked from AaronSadlerUK/Our.Umbraco.UmbNav
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines-beta.yml
74 lines (72 loc) · 1.92 KB
/
azure-pipelines-beta.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
# Variable 'BuildVersion' was defined in the Variables tab
variables:
- name: BuildParameters.projects
value: >-
src/UmbNav.Api/UmbNav.Api.csproj
src/UmbNav.Core/UmbNav.Core.csproj
name: 1.0.0-beta$(Rev:.r)
resources:
repositories:
- repository: self
type: git
ref: develop
jobs:
- job: Job_1
displayName: Agent job 1
pool:
name: Easyspace
steps:
- checkout: self
clean: true
submodules: recursive
- task: DotNetCoreCLI@2
displayName: dotnet restore
inputs:
command: restore
projects: $(BuildParameters.projects)
selectOrConfig: config
nugetConfigPath: src/NuGet.Config
- task: DotNetCoreCLI@2
displayName: dotnet pack
inputs:
command: pack
projects: >-
src/UmbNav.Api/UmbNav.Api.csproj
src/UmbNav.Core/UmbNav.Core.csproj
searchPatternPack: src/UmbNav.Api/UmbNav.Api.csproj;src/UmbNav.Core/UmbNav.Core.csproj;src/UmbNav.Web/UmbNav.Web.csproj;
versioningScheme: byEnvVar
versionEnvVar: BuildVersion
- task: DotNetCoreCLI@2
displayName: dotnet push
enabled: False
inputs:
command: push
nuGetFeedType: external
externalEndpoint: 128c05dd-fc06-44b8-a214-448b17f34506
- task: NuGetToolInstaller@1
displayName: Use NuGet 5.5.0
inputs:
versionSpec: 5.5.0
checkLatest: true
- task: NuGetCommand@2
displayName: NuGet pack UmbNav UI
enabled: False
inputs:
command: pack
searchPatternPack: TestSite/App_Plugins/UmbNav/.nuspec
versioningScheme: byEnvVar
versionEnvVar: BuildVersion
- task: NuGetCommand@2
displayName: NuGet push
inputs:
command: push
nuGetFeedType: external
externalEndpoint: 128c05dd-fc06-44b8-a214-448b17f34506
- task: NuGetCommand@2
displayName: NuGet push
enabled: False
inputs:
command: push
nuGetFeedType: external
externalEndpoint: 961d8369-124b-44e2-b2bd-5d87cce6169f
...