2 # these parameters are used for infra related variables
8 default: https://git.openstack.org/openstack-infra/jenkins-job-builder
9 description: OpenStack JJB repo
13 description: OpenStack JJB version to install - matches to LFN JJB version
15 # these parameters are used for setting the Gerrit Project on Nordix
17 name: project-parameters
22 description: JJB configured PROJECT parameter to identify a Nordix Gerrit project
26 description: "JJB configured BRANCH parameter (e.g. master, nordix-dev)"
28 # these parameters are used for streaming changes from various Gerrit Systems
30 name: nordix-gerrit-parameters
35 description: Non-interactive user to stream Gerrit Events on Nordix Gerrit
38 default: https://gerrit.nordix.org/
39 description: HTTPS URL of Project Repo on Nordix Gerrit to clone repo
42 default: ssh://$GERRIT_USER@gerrit.nordix.org:29418/
43 description: HTTPS URL of Project Repo on Nordix Gerrit to clone repo
46 name: onap-gerrit-parameters
51 description: Non-interactive user to stream Gerrit Events on ONAP Gerrit
54 default: https://gerrit.onap.org/r/p/
55 description: HTTPS URL to Project Repo on ONAP Gerrit to clone repo
58 default: ssh://$GERRIT_USER@gerrit.onap.org:29418/
59 description: SSH URL to Project Repo on ONAP Gerrit to clone repo
61 # defaults for job build history
63 name: logrotate-default
68 artifact-days-to-keep: 60
69 artifact-num-to-keep: 200
71 # defaults for SCM and Gerrit
76 url: '$GIT_BASE_HTTPS/$PROJECT'
78 - 'refs/heads/{branch}'
88 choosing-strategy: 'default'
94 url: '$GIT_BASE_HTTPS/$PROJECT'
96 - 'refs/heads/{branch}'
106 choosing-strategy: 'gerrit'
108 # triggers for Nordix and upstream Gerrits
110 name: nordix-gerrit-trigger-patchset-created
113 server-name: 'Nordix Gerrit'
115 - patchset-created-event:
116 exclude-drafts: 'false'
117 exclude-trivial-rebase: 'false'
118 exclude-no-code-change: 'false'
119 - draft-published-event
120 - comment-added-contains-event:
121 comment-contains-value: 'recheck'
122 - comment-added-contains-event:
123 comment-contains-value: 'reverify'
125 - project-compare-type: 'ANT'
126 project-pattern: '{project}'
128 - branch-compare-type: 'ANT'
129 branch-pattern: '**/{branch}'
131 - compare-type: 'ANT'
140 name: nordix-gerrit-trigger-change-merged
143 server-name: 'Nordix Gerrit'
145 - change-merged-event
146 - comment-added-contains-event:
147 comment-contains-value: 'remerge'
149 - project-compare-type: 'ANT'
150 project-pattern: '{project}'
152 - branch-compare-type: 'ANT'
153 branch-pattern: '**/{branch}'
155 - compare-type: 'ANT'
158 # wrappers to use for jobs
160 name: nordixinfra-jjb-creds-wrapper
162 - credentials-binding:
163 - username-password-separated:
164 credential-id: nordixinfra-jjb-creds
165 username: JJB_USERNAME
166 password: JJB_USERTOKEN