125ba5a0c943e248bdc969aa79a84b12316e4eac
[releng.git] / jjb / octopus / octopus.yml
1 - project:
2     name: octopus
3     jobs:
4         - 'octopus-test'
5         - 'octopus-daily-master'
6
7     # stream:    branch with - in place of / (eg. stable-helium)
8     # branch:    branch (eg. stable/helium)
9     stream:
10         - master:
11             branch: 'master'
12
13     project: 'octopus'
14     somevar: 'foo'
15
16 - job-template:
17     name: octopus-test
18
19     project-type: freestyle
20
21     logrotate:
22         daysToKeep: 30
23         numToKeep: 10
24         artifactDaysToKeep: -1
25         artifactNumToKeep: -1
26
27     builders:
28         - shell: |
29             echo "Hello world from octopus"
30
31 - job-template:
32     name: 'octopus-daily-master'
33
34     # Job template for daily builders
35     #
36     # Required Variables:
37     #     stream:    branch with - in place of / (eg. stable)
38     #     branch:    branch (eg. stable)
39
40     project-type: freestyle
41     varsetabove: '{somevar}'
42
43     logrotate:
44         daysToKeep: '{build-days-to-keep}'
45         numToKeep: '{build-num-to-keep}'
46         artifactDaysToKeep: '{build-artifact-days-to-keep}'
47         artifactNumToKeep: '{build-artifact-num-to-keep}'
48
49     wrappers:
50         - ssh-agent-credentials:
51             user: '{ssh-credentials}'
52
53     triggers:
54         - timed: 'H H * * *'
55
56     prebuilders:
57         - test-macro
58
59     builders:
60         - shell: |
61             echo "Hello world from octopus {somevar} daily"
62         - test-macro
63
64     postbuilders:
65         - test-macro
66