blob: b5ff9fa4136dbc5762ef48354cd0bc30ca3992ee (
plain)
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
|
- project:
name: genesis
jobs:
- 'genesis-test'
- 'genesis-daily-master'
# stream: branch with - in place of / (eg. stable-helium)
# branch: branch (eg. stable/helium)
stream:
- master:
branch: 'master'
project: 'genesis'
somevar: 'foo'
- job-template:
name: genesis-test
project-type: freestyle
logrotate:
daysToKeep: 30
numToKeep: 10
artifactDaysToKeep: -1
artifactNumToKeep: -1
builders:
- shell: |
echo "Hello world from genesis"
- job-template:
name: 'genesis-daily-master'
# Job template for daily builders
#
# Required Variables:
# stream: branch with - in place of / (eg. stable)
# branch: branch (eg. stable)
project-type: freestyle
varsetabove: '{somevar}'
logrotate:
daysToKeep: '{build-days-to-keep}'
numToKeep: '{build-num-to-keep}'
artifactDaysToKeep: '{build-artifact-days-to-keep}'
artifactNumToKeep: '{build-artifact-num-to-keep}'
wrappers:
- ssh-agent-credentials:
user: '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
prebuilders:
- test-macro
builders:
- shell: |
echo "Hello world from genesis {somevar} daily"
- test-macro
postbuilders:
- test-macro
|