-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.gopipeline.json
90 lines (90 loc) · 1.99 KB
/
test.gopipeline.json
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"group": "test",
"name": "test",
"display_order_weight": -1.0,
"label_template": "${COUNT}",
"lock_behavior": "none",
"environment_variables": [],
"parameters": [],
"materials": [
{
"url": "https://github.com/krazybird/public-repo",
"branch": "master",
"shallow_clone": false,
"filter": {
"ignore": [],
"whitelist": []
},
"auto_update": true,
"type": "git"
}
],
"stages": [
{
"name": "first_stage",
"fetch_materials": true,
"never_cleanup_artifacts": false,
"clean_working_directory": false,
"approval": {
"type": "success",
"users": [],
"roles": [],
"allow_only_on_success": false
},
"environment_variables": [],
"jobs": [
{
"name": "first_job",
"environment_variables": [],
"tabs": [],
"resources": [],
"artifacts": [],
"properties": [],
"timeout": 0.0,
"tasks": [
{
"command": "ls",
"timeout": -1.0,
"arguments": [],
"run_if": "passed",
"type": "exec"
}
]
}
]
},
{
"name": "stage_second",
"fetch_materials": true,
"never_cleanup_artifacts": false,
"clean_working_directory": false,
"approval": {
"type": "manual",
"users": [],
"roles": [],
"allow_only_on_success": true
},
"environment_variables": [],
"jobs": [
{
"name": "second_job",
"environment_variables": [],
"tabs": [],
"resources": [],
"artifacts": [],
"properties": [],
"timeout": 0.0,
"tasks": [
{
"command": "ls",
"timeout": -1.0,
"arguments": [],
"run_if": "passed",
"type": "exec"
}
]
}
]
}
]
}