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_SSH/$PROJECT'
77 credentials-id: '{ssh-credentials-id}'
79 - 'refs/heads/{branch}'
89 choosing-strategy: 'default'
95 url: '$GIT_BASE_SSH/$PROJECT'
96 credentials-id: '{ssh-credentials-id}'
98 - 'refs/heads/{branch}'
108 choosing-strategy: 'gerrit'
110 # triggers for Nordix Gerrit
112 name: nordix-gerrit-trigger-patchset-created
115 server-name: 'Nordix Gerrit'
117 - patchset-created-event:
118 exclude-drafts: 'false'
119 exclude-trivial-rebase: 'false'
120 exclude-no-code-change: 'false'
121 - draft-published-event
122 - comment-added-contains-event:
123 comment-contains-value: 'recheck'
124 - comment-added-contains-event:
125 comment-contains-value: 'reverify'
127 - project-compare-type: 'ANT'
128 project-pattern: '{project}'
130 - branch-compare-type: 'ANT'
131 branch-pattern: '**/{branch}'
133 - compare-type: 'ANT'
142 name: nordix-gerrit-trigger-change-merged
145 server-name: 'Nordix Gerrit'
147 - change-merged-event
148 - comment-added-contains-event:
149 comment-contains-value: 'remerge'
151 - project-compare-type: 'ANT'
152 project-pattern: '{project}'
154 - branch-compare-type: 'ANT'
155 branch-pattern: '**/{branch}'
157 - compare-type: 'ANT'
160 # triggers for ONAP Gerrit
162 name: onap-gerrit-trigger-change-merged
165 server-name: 'ONAP Gerrit'
167 - change-merged-event
168 - comment-added-contains-event:
169 comment-contains-value: 'remerge'
171 - project-compare-type: 'ANT'
172 project-pattern: '{project}'
174 - branch-compare-type: 'ANT'
175 branch-pattern: '**/{branch}'
177 - compare-type: 'ANT'
182 # wrappers to use for jobs
184 name: nordixinfra-jjb-creds-wrapper
186 - credentials-binding:
187 - username-password-separated:
188 credential-id: nordixinfra-jjb-creds
189 username: JJB_USERNAME
190 password: JJB_USERTOKEN