summaryrefslogtreecommitdiffstats
path: root/build-gluster-org/jobs/glusto.yml
blob: 2a6c3a73cef1f3f8c336b530706bc5338428ebce (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
- project:
    name: 'glusto'
    glustoversion:
      - stable:
          gerrit_ref: stable
      #- master:
          #gerrit_ref: master
    jobs:
      - '{name}-{glustoversion}'

- job-template:
    name: '{name}-{glustoversion}'
    node: glusto
    description: Run the Glusto job on ci.centos.org
    project-type: freestyle
    concurrent: true

    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: gluster_glusto
        description: 'Name of the remote Jenkins Job'
        name: REMOTE_JENKINS_JOB

    builders:
    - shell: !include-raw: ../scripts/glusto.sh

    wrappers:
    - timestamps
    - timeout:
        timeout: 300
        abort: true
        type: absolute
    - credentials-binding:
      - username-password-separated:
          credential-id: centos-ci-creds
          username: REMOTE_JENKINS_USER
          password: REMOTE_JENKINS_PASS