summaryrefslogtreecommitdiffstats
path: root/build-gluster-org/jobs/macros.yml
blob: 6d3aff3268121cca7c3b02fa9f81b99495dd27ba (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
- scm:
    name: glusterfs
    scm:
    - git:
        branches:
        - $GERRIT_BRANCH
        refspec: $GERRIT_REFSPEC
        choosing-strategy: gerrit
        url: git://review.gluster.org/glusterfs.git

- property:
    name: discard-after-x
    properties:
    - build-discarder:
        days-to-keep: '{x}'
        num-to-keep: '{x}'
        artifact-days-to-keep: '{x}'
        artifact-num-to-keep: '{x}'

- property:
    name: one-build-per-node
    properties:
    - throttle:
        max-per-node: 1
        enabled: true
        option: project

- publisher:
    name: rpm
    publishers:
    - archive:
        allow-empty: false
        artifacts: RPMS/**
        default-excludes: true
        fingerprint: false
        only-if-success: false

- publisher:
    name: strfmt-build-log
    publishers:
    - archive:
        allow-empty: false
        artifacts: RPMS/el6/i686/build.log
        default-excludes: true
        fingerprint: false
        only-if-success: false