summaryrefslogtreecommitdiffstats
path: root/build-gluster-org/jobs/centos6-regression.yml
blob: 0c487866a1f3877dea3d5f280cad4ea60a712a4f (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
- job:
    name: centos6-regression
    node: rackspace_regression_2gb
    description: Our production regression test.  Triggerered for each Gerrit CR revision.
    project-type: freestyle
    concurrent: true

    scm:
    - git:
        branches:
        - $GERRIT_BRANCH
        refspec: $GERRIT_REFSPEC
        choosing-strategy: gerrit
        url: git://review.gluster.org/glusterfs.git
        wipe-workspace: false

    properties:
    - one-build-per-node

    triggers:
    - gerrit:
        server-name: review.gluster.org
        trigger-on:
          - comment-added-contains-event:
              comment-contains-value: "recheck centos"
          - comment-added-event:
              approval-category: Verified
              approval-value: 1

        projects:
          - project-compare-type: 'PLAIN'
            project-pattern: 'glusterfs'
            branches:
              - branch-compare-type: 'ANT'
                branch-pattern: '**'

    parameters:
    - string:
        default: refs/heads/master
        description: 'For review 12345 and patch set 6, this will be refs/changes/45/12345/6. Default: Tip of master'
        name: GERRIT_REFSPEC
    - string:
        default: master
        description: 'Name of the branch you want to build from. We usually build from master'
        name: GERRIT_BRANCH

    builders:
    - shell: !include-raw: ../scripts/centos-regression.sh

    wrappers:
    - timestamps
    - timeout:
        timeout: 300
        abort: true
        type: absolute