forked from AzureAD/SCIMReferenceCode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
50 lines (44 loc) · 998 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
trigger:
tags:
include:
- 'v*'
branches:
include:
- 'master'
pool: vmssagentpool
pr:
branches:
include:
- "master"
resources:
repositories:
- repository: templates
type: github
name: chaseappio/devops-ci-templates
ref: refs/heads/master
endpoint: chaseappio
variables:
- template: vars.yml@templates
- name: sdk_version
value: 7.x
- name: sln_path
value: Microsoft.SCIM.sln
stages:
- stage: prepare
jobs:
- job: version
steps:
- template: version.yml@templates
- stage: build
condition: "succeeded()"
jobs:
- job: build
steps:
- template: build.yml@templates
parameters:
sdk_version: $(sdk_version)
sln_path: $(sln_path)
- template: pack.steps.yml@templates
parameters:
sln_path: $(sln_path)
condition: "and(succeeded(),eq(variables['publish_build'],'true'))"