-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
49 lines (41 loc) · 1.18 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
# ASP.NET Core
# Build and test ASP.NET Core projects targeting .NET Core.
# Add steps that run tests, create a NuGet package, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
resources:
repositories:
- repository: ci_cd
type: github
name: original-decisions/ci-cd
endpoint: original-decisions
pr:
- master/src
- master/tests
pool:
vmImage: 'vs2017-win2016'
variables:
buildConfiguration: 'Release'
steps:
- powershell: |
git clone https://github.com/original-decisions/ci-cd -v --progress;
dir;
errorActionPreference: silentlyContinue
workingDirectory: '$(Build.Repository.LocalPath)'
displayName: 'clone ci scripts'
- template: AzureDevOps_(VSTS)/templates/netcoreapp_pr_ps.yml@ci_cd
- task: CopyFiles@2
displayName: 'Copy Files to: $(Build.ArtifactStagingDirectory)'
inputs:
Contents: |
**/*.nupkg
**/*test*.xml
TargetFolder: '$(Build.ArtifactStagingDirectory)'
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: drop'
- task: YodLabs.VariableTasks.AddTag.AddTag@0
displayName: 'Add Tag(s) on Succeeded build'
inputs:
tags: |
Attachment
Core
Succeeded