summaryrefslogtreecommitdiffstats
path: root/build-gluster-org/jobs/distributed-regression.yml
blob: d4492443433720bb42df85c6aec2281f1d999d13 (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
- job:
    name: distributed-regression
    node: regression7
    description: Run regression with distributed test framework
    project-type: freestyle
    concurrent: true

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

    properties:
      - discard-after-x:
          x: 30
      - one-build-per-node

    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
      - string:
          default: '8'
          description: Number of machines to launch
          name: MACHINES_COUNT
      - string:
          default: 'ORD'
          description: Rackspace region to launch instances
          name: RAX_REGION

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

    publishers:
      - archive:
          allow-empty: true
          artifacts: "failed-tests-logs.tgz"
          only-if-success: true

    wrappers:
    - timestamps
    - credentials-binding:
           - username-password-separated:
               credential-id: e423d7f9-edaf-45ea-aa8f-9c3f8e6563f1
               username: RAX_USERNAME
               password: RAX_API_KEY
           - file:
               credential-id: http_int_credential
               variable: LOG_KEY
    - timeout:
        timeout: 120
        abort: true
        type: absolute