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 default: nordixinfra-nordix-gerrit-ssh
47 description: Nordix Infra SSH credentials for Nordix Gerrit
50 name: onap-gerrit-parameters
55 description: Non-interactive user to stream Gerrit Events on ONAP Gerrit
58 default: https://gerrit.onap.org/r/p
59 description: HTTPS URL to Project Repo on ONAP Gerrit to clone repo
62 default: ssh://$GERRIT_USER@gerrit.onap.org:29418
63 description: SSH URL to Project Repo on ONAP Gerrit to clone repo
66 default: nordixinfra-lfn-gerrit-ssh
67 description: Nordix Infra SSH credentials for LFN Gerrit
69 # defaults for job build history
71 name: logrotate-default
76 artifact-days-to-keep: 60
77 artifact-num-to-keep: 200
79 # defaults for SCM and Gerrit
84 url: '$GIT_BASE_SSH/$PROJECT'
85 credentials-id: '$CREDENTIALS_ID'
87 - 'refs/heads/{branch}'
97 choosing-strategy: 'default'
103 url: '$GIT_BASE_SSH/$PROJECT'
104 credentials-id: '$CREDENTIALS_ID'
106 - 'refs/heads/{branch}'
116 choosing-strategy: 'gerrit'
118 # triggers for Nordix and upstream Gerrits
120 name: nordix-gerrit-trigger-patchset-created
123 server-name: 'Nordix Gerrit'
125 - patchset-created-event:
126 exclude-drafts: 'false'
127 exclude-trivial-rebase: 'false'
128 exclude-no-code-change: 'false'
129 - draft-published-event
130 - comment-added-contains-event:
131 comment-contains-value: 'recheck'
132 - comment-added-contains-event:
133 comment-contains-value: 'reverify'
135 - project-compare-type: 'ANT'
136 project-pattern: '{project}'
138 - branch-compare-type: 'ANT'
139 branch-pattern: '**/{branch}'
141 - compare-type: 'ANT'
150 name: nordix-gerrit-trigger-change-merged
153 server-name: 'Nordix Gerrit'
155 - change-merged-event
156 - comment-added-contains-event:
157 comment-contains-value: 'remerge'
159 - project-compare-type: 'ANT'
160 project-pattern: '{project}'
162 - branch-compare-type: 'ANT'
163 branch-pattern: '**/{branch}'
165 - compare-type: 'ANT'
168 # wrappers to use for jobs
170 name: nordixinfra-jjb-creds-wrapper
172 - credentials-binding:
173 - username-password-separated:
174 credential-id: nordixinfra-jjb-creds
175 username: JJB_USERNAME
176 password: JJB_USERTOKEN