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

- property:
    name: discard-after-x
    properties:
    - build-discarder:
        days-to-keep: '{x}'
        artifact-days-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/*.log
        default-excludes: true
        fingerprint: false
        only-if-success: false

- publisher:
    name: gluster-logs
    publishers:
    - archive:
        allow-empty: true
        artifacts: "glusterfs-logs.tgz"
        default-excludes: true
        fingerprint: false
        only-if-success: false