blob: e7a7eed03180f131056542b54b6ad31dfd6eef31 [file] [log] [blame]
Vasyl Saienko93f6b782017-10-23 17:31:38 +03001parameters:
2 jenkins:
3 client:
4 job:
5 custompatches:
6 concurrent: true
7 discard:
8 build:
9 keep_num: 20
10 display_name: Custom Patches - find and upload to review
11 name: custom-patches
12 param:
13 GERRIT_URI:
14 type: string
15 default: ''
16 description: "Gerrit URI to the projec"
17 GERRIT_CREDENTIALS:
18 default: mcp-ci-gerrit
19 type: string
20 description: "Name of creadentials to use when connecting to gerrit"
21 TARGET_GERRIT_URI:
22 default: ''
23 type: string
24 description: "Link to the target on gerrit, if not set GERRIT_URI is picked"
25 OLD_BRANCH:
26 default: ''
27 type: string
28 description: "Old branch on GERRIT_URI to take patches from, tupically previous release"
29 NEW_BRANCH:
30 default: ''
31 type: string
32 description: "New branch to compare with and push patches to, tupically current release"
33 DRY_RUN:
34 default: 'false'
35 type: boolean
36 description: "Do not upload custom patches on review, just log them"
37 scm:
38 script: custompatches.groovy
39 type: git
40 url: "${_param:jenkins_gerrit_url}/openstack-ci/openstack-pipelines"
41 credentials: "gerrit"
42 type: workflow-scm
43