-
Notifications
You must be signed in to change notification settings - Fork 2
/
azure-pipelines.yml
117 lines (100 loc) · 3.71 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# ASP.NET Core (.NET Framework)
# Build and test ASP.NET Core projects targeting the full .NET Framework.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
trigger:
- master
pool:
vmImage: 'windows-latest'
variables:
solution: '**/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
steps:
- task: UseDotNet@2
inputs:
packageType: 'sdk'
version: '6.0.x'
- task: NodeTool@0
inputs:
versionSpec: '14.x'
- task: Npm@1
displayName: 'Install Npm Packages'
inputs:
command: 'install'
workingDir: './Sloth.Web'
- task: DotNetCoreCLI@2
displayName: Restore nuget packages
inputs:
command: restore
projects: '**/*.csproj'
workingDirectory: $(Build.SourcesDirectory)
- task: DotNetCoreCLI@2
displayName: 'Assemble Sloth.Api'
inputs:
command: 'publish'
publishWebProjects: false
zipAfterPublish: false
modifyOutputPath: false
projects: './sloth.api/sloth.api.csproj'
arguments: '--configuration $(buildConfiguration) --output $(build.artifactstagingdirectory)/sloth.api'
- task: DotNetCoreCLI@2
displayName: 'Assemble Sloth.Web'
inputs:
command: 'publish'
publishWebProjects: false
zipAfterPublish: false
modifyOutputPath: false
projects: './sloth.web/sloth.web.csproj'
arguments: '--configuration $(buildConfiguration) --output $(build.artifactstagingdirectory)/sloth.web'
- task: DotNetCoreCLI@2
displayName: 'Assemble Sloth.Jobs.CyberSource.BankReconcile w/ Web'
inputs:
command: 'publish'
publishWebProjects: false
zipAfterPublish: false
projects: './sloth.jobs.cybersource.bankreconcile/sloth.jobs.cybersource.bankreconcile.csproj'
arguments: '--configuration $(buildConfiguration) --output $(Build.ArtifactStagingDirectory)/sloth.web/app_data/jobs/triggered'
- task: DotNetCoreCLI@2
displayName: 'Assemble Sloth.Jobs.Kfs.ScrubberUpload w/ Web'
inputs:
command: 'publish'
publishWebProjects: false
zipAfterPublish: false
projects: './sloth.jobs.kfs.scrubberupload/sloth.jobs.kfs.scrubberupload.csproj'
arguments: '--configuration $(buildConfiguration) --output $(Build.ArtifactStagingDirectory)/sloth.web/app_data/jobs/triggered'
- task: DotNetCoreCLI@2
displayName: 'Assemble Sloth.Jobs.WebHooks.Resend w/ Web'
inputs:
command: 'publish'
publishWebProjects: false
zipAfterPublish: false
projects: './sloth.jobs.webhooks.resend/sloth.jobs.webhooks.resend.csproj'
arguments: '--configuration $(buildConfiguration) --output $(Build.ArtifactStagingDirectory)/sloth.web/app_data/jobs/triggered'
- task: DotNetCoreCLI@2
displayName: 'Assemble Sloth.Jobs.AggieEnterprise.JournalProcessor'
inputs:
command: 'publish'
publishWebProjects: false
zipAfterPublish: false
projects: './Sloth.Jobs.AggieEnterprise.JournalProcessor/Sloth.Jobs.AggieEnterprise.JournalProcessor.csproj'
arguments: '--configuration $(buildConfiguration) --output $(Build.ArtifactStagingDirectory)/sloth.web/app_data/jobs/triggered'
- task: DotNetCoreCLI@2
displayName: 'Assemble Sloth.Jobs.Notifications w/ Web'
inputs:
command: 'publish'
publishWebProjects: false
zipAfterPublish: false
projects: './Sloth.Jobs.Notifications/Sloth.Jobs.Notifications.csproj'
arguments: '--configuration $(buildConfiguration) --output $(Build.ArtifactStagingDirectory)/sloth.web/app_data/jobs/triggered'
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifacts'
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: 'build'
publishLocation: 'Container'
- task: DotNetCoreCLI@2
displayName: 'Test'
inputs:
command: 'test'
projects: './sloth.test/sloth.test.csproj'