-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathhelloworld.yml
More file actions
129 lines (113 loc) · 2.94 KB
/
helloworld.yml
File metadata and controls
129 lines (113 loc) · 2.94 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
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
- project:
name: helloworld
keep_build_num: 5
keep_build_days: 5
jobs:
- 'compile_{name}'
- 'fast_test_{name}'
- 'slow_test_{name}'
- 'package_{name}'
- job-template:
name: 'compile_{name}'
description: 'Simple Jenkins job building'
project-type: freestyle
defaults: global
disabled: false
display-name: 'Compile {name}'
quiet-period: 0
block-downstream: false
block-upstream: false
logrotate:
daysToKeep: '{keep_build_days}'
numToKeep: '{keep_build_num}'
artifactDaysToKeep: -1
artifactNumToKeep: -1
scm:
- git:
url: file:///home/aleksey/src/helloworld/
skip-tag: True
branches:
- 'master'
builders:
- maven-target:
goals: 'clean compile'
- job-template:
name: 'fast_test_{name}'
description: 'Run Fast Test'
project-type: freestyle
defaults: global
disabled: false
display-name: 'Execute Fast test'
quiet-period: 0
block-downstream: false
block-upstream: false
logrotate:
daysToKeep: '{keep_build_days}'
numToKeep: '{keep_build_num}'
artifactDaysToKeep: -1
artifactNumToKeep: -1
scm:
- git:
url: file:///home/aleksey/src/helloworld/
skip-tag: True
branches:
- 'master'
builders:
- maven-target:
goals: 'test'
properties:
- test=HelloWorldTest#testHelloEmpty
- job-template:
name: 'slow_test_{name}'
description: 'Execute slow test'
project-type: freestyle
defaults: global
disabled: false
display-name: 'Execute Slow test'
quiet-period: 0
block-downstream: false
block-upstream: false
logrotate:
daysToKeep: '{keep_build_days}'
numToKeep: '{keep_build_num}'
artifactDaysToKeep: -1
artifactNumToKeep: -1
scm:
- git:
url: file:///home/aleksey/src/helloworld/
skip-tag: True
branches:
- 'master'
builders:
- maven-target:
goals: 'test'
properties:
- test=HelloWorldTest#testHelloWorld
- shell:
sleep 20
- job-template:
name: 'package_{name}'
description: 'Package'
project-type: freestyle
defaults: global
disabled: false
display-name: 'Package {name}'
quiet-period: 0
block-downstream: false
block-upstream: false
logrotate:
daysToKeep: '{keep_build_days}'
numToKeep: '{keep_build_num}'
artifactDaysToKeep: -1
artifactNumToKeep: -1
scm:
- git:
url: file:///home/aleksey/src/helloworld/
skip-tag: True
branches:
- 'master'
builders:
- maven-target:
goals: 'package'
parameters:
- maven.test.skip=true