summaryrefslogtreecommitdiffstats
path: root/build-gluster-org/jobs/close-old-reviews.yml
blob: 0a5ffd7156301bf430b537d001c6079695449431 (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
- job:
    name: close-old-reviews
    node: smoke7
    description: Closing the oldest reviews
    project-type: freestyle
    concurrent: true

    triggers:
    - timed: "30 19 * * *"

    parameters:
    - string:
        default: '90'
        description: Reviews which are 90 days or more older on Gerrit
        name: DAYS
    - string:
        default: '25'
        description: Number of oldest reviews to be abandoned on Gerrit
        name: REV_COUNT

    builders:
    - shell: !include-raw: ../scripts/close-old-reviews.py

    wrappers:
     - timestamps
     - credentials-binding:
         - username-password-separated:
             credential-id: 7e0c919e-4568-42ac-b28a-660a148609fe
             username: HTTP_USERNAME
             password: HTTP_PASSWORD