forked from cloudextend/contrib-netsuite-servicemgr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
31 lines (27 loc) · 882 Bytes
/
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
pool:
name: Azure Pipelines
vmImage: 'ubuntu-latest'
steps:
- task: DotNetCoreCLI@2
displayName: Restore
inputs:
command: restore
projects: '$(Build.DefinitionName)/**/*.csproj'
- task: DotNetCoreCLI@2
displayName: Build
inputs:
projects: '$(Build.DefinitionName)/**/*.csproj'
arguments: '--configuration $(BuildConfiguration)'
- task: DotNetCoreCLI@2
displayName: Test
inputs:
command: test
projects: '$(Build.DefinitionName)/[Tt]ests/*.csproj'
arguments: '--configuration $(BuildConfiguration)'
- task: NuGetCommand@2
displayName: 'NuGet push'
inputs:
command: push
packagesToPush: '$(Build.SourcesDirectory)/**/*.nupkg;!$(Build.SourcesDirectory)/**/*.symbols.nupkg'
nuGetFeedType: external
publishFeedCredentials: 'CloudExtendOSS - Azure DevOps Service Connection'