-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
45 lines (45 loc) · 929 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
stages:
- stage: Build
jobs:
- job: Build
pool:
vmImage: 'Ubuntu-16.04'
continueOnError: true
steps:
- script: echo "hello to my first Build"
- stage: dev_deploy
dependsOn: Build
jobs:
- deployment: dev_deploy
pool:
vmImage: 'Ubuntu-16.04'
environment: 'dev-hello'
strategy:
runOnce:
deploy:
steps:
- script: echo "hello, dev world !!!"
- stage: qa_deploy
dependsOn: dev_deploy
jobs:
- deployment: qa_deploy
pool:
vmImage: 'Ubuntu-16.04'
environment: 'qa-hello'
strategy:
runOnce:
deploy:
steps:
- script: echo "hello, qa world !!!"
- stage: prod_deploy
dependsOn: qa_deploy
jobs:
- deployment: qa_deploy
pool:
vmImage: 'Ubuntu-16.04'
environment: 'qa-hello'
strategy:
runOnce:
deploy:
steps:
- script: echo "hello, qa world !!!"