blob: 3cbe5307395767599b6db4991c65905800af605a (
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: parser
jobs:
- 'parser-test'
- 'parser-daily-master'
# stream: branch with - in place of / (eg. stable-helium)
# branch: branch (eg. stable/helium)
stream:
- master:
branch: 'master'
project: 'parser'
somevar: 'foo'
- job-template:
name: parser-test
project-type: freestyle
logrotate:
daysToKeep: 30
numToKeep: 10
artifactDaysToKeep: -1
artifactNumToKeep: -1
builders:
- shell: |
echo "Hello world from parser"
- job-template:
name: 'parser-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 parser {somevar} daily"
- test-macro
postbuilders:
- test-macro
|