forked from UiPath/CoreWF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yaml
43 lines (37 loc) · 887 Bytes
/
azure-pipelines.yaml
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
trigger:
branches:
include:
- main
- develop
pr:
branches:
include:
- develop
name: $(Date:yyyyMMdd)$(Rev:-rr)
resources:
repositories:
- repository: templates
type: github
name: UiPath/AzurePipelinesTemplates
ref: refs/tags/uipath.package-signing.1.5.0
endpoint: UiPath
variables:
- template: .pipelines/vars.yml
stages:
- stage: BuildAndTest
jobs:
- template: .pipelines/build.yaml
- stage: ReleaseInternal
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/develop'))
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