-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.gocd.yaml
42 lines (42 loc) · 992 Bytes
/
test.gocd.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
format_version: 3
pipelines:
test_yaml:
group: test
label_template: ${COUNT}
lock_behavior: none
display_order: -1
materials:
git:
git: 'https://github.com/gocd/build_map'
shallow_clone: false
auto_update: true
branch: master
stages:
- first_stage:
fetch_materials: true
keep_artifacts: false
clean_workspace: false
approval:
type: success
allow_only_on_success: false
jobs:
first_job:
timeout: 0
tasks:
- exec:
command: ls
run_if: passed
- stage_second:
fetch_materials: true
keep_artifacts: false
clean_workspace: false
approval:
type: manual
allow_only_on_success: true
jobs:
second_job:
timeout: 0
tasks:
- exec:
command: ls
run_if: passed