summaryrefslogtreecommitdiffstats
path: root/jjb/vnf_forwarding_graph/vnf_forwarding_graph.yml
blob: 01e2691f6db6e5bde0a2d7cb8da9737282485caf (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: vnf_forwarding_graph
    jobs:
        - 'vnf_forwarding_graph-test'
        - 'vnf_forwarding_graph-daily-master'

    # stream:    branch with - in place of / (eg. stable-helium)
    # branch:    branch (eg. stable/helium)
    stream:
        - master:
            branch: 'master'

    project: 'vnf_forwarding_graph'
    somevar: 'foo'

- job-template:
    name: vnf_forwarding_graph-test

    project-type: freestyle

    logrotate:
        daysToKeep: 30
        numToKeep: 10
        artifactDaysToKeep: -1
        artifactNumToKeep: -1

    builders:
        - shell: |
            echo "Hello world from vnf_forwarding_graph"

- job-template:
    name: 'vnf_forwarding_graph-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 vnf_forwarding_graph {somevar} daily"
        - test-macro

    postbuilders:
        - test-macro