-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAzure-Pipelines - Release.yml
More file actions
38 lines (35 loc) · 950 Bytes
/
Azure-Pipelines - Release.yml
File metadata and controls
38 lines (35 loc) · 950 Bytes
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
trigger:
branches:
include:
- master
pr: none
pool:
vmImage: 'ubuntu-latest'
steps:
- task: CmdLine@2
displayName: Run Mock-ESI container
inputs:
script: 'docker run -d -p 8080:8080 --name MockESI antihax/mock-esi'
- task: Bash@3
displayName: Run cake build script
inputs:
filePath: './build.sh'
- task: PublishTestResults@2
displayName: Publish Test Results
inputs:
testResultsFormat: 'VSTest'
testResultsFiles: '**/TestOutput.xml'
- task: DotNetCoreCLI@2
displayName: Nuget pack project
inputs:
command: 'pack'
packagesToPack: '**/ESIConnectionLibrary.csproj'
nobuild: true
versioningScheme: 'off'
- task: NuGetCommand@2
displayName: Push nuget package
inputs:
command: 'push'
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg'
nuGetFeedType: 'external'
publishFeedCredentials: 'EsiConnection Nuget'