-
Notifications
You must be signed in to change notification settings - Fork 231
Expand file tree
/
Copy pathazure-pipelines.yaml
More file actions
45 lines (39 loc) · 1.03 KB
/
azure-pipelines.yaml
File metadata and controls
45 lines (39 loc) · 1.03 KB
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
trigger:
branches:
include:
- main
- develop
- support/*
- release/*
pr:
branches:
include:
- develop
name: $(Date:yyyyMMdd)$(Rev:-rr)
resources:
repositories:
- repository: templates
type: github
name: UiPath/AzurePipelinesTemplates
ref: refs/tags/uipath.package-signing.2.0.6
endpoint: UiPath
variables:
- template: .pipelines/vars.yml
stages:
- stage: BuildAndTest
jobs:
- template: .pipelines/build.yaml
- stage: ReleaseInternal
condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/develop'), startsWith(variables['Build.SourceBranch'], 'refs/heads/support/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/')))
dependsOn: BuildAndTest
jobs:
- template: .pipelines/release.yaml
parameters:
type: internal
- stage: ReleasePublic
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
dependsOn: BuildAndTest
jobs:
- template: .pipelines/release.yaml
parameters:
type: public