12 This file lives in the ci-management repo typically under the path
13 ``jjb/defaults.yaml``. The purpose of this file is to store default variable
14 values used by global-jjb templates.
18 :jenkins-ssh-credential: The name of the Jenkins Credential to
19 use for ssh connections. (ex: jenkins-ssh)
21 :lftools-version: Version of lftools to install. Can be a specific version
22 like '0.6.1' or a `PEP-440 definition <https://www.python.org/dev/peps/pep-0440/>`_
23 For example `<1.0.0` or `>=1.0.0,<2.0.0`.
25 :mvn-site-id: Maven Server ID from settings.xml containing the credentials
26 to push to a Maven site repository.
28 :mvn-staging-id: Maven Server ID from settings.xml containing the credentials
29 to push to a Maven staging repository.
31 **Gerrit required parameters**:
33 :gerrit-server-name: The name of the Gerrit Server as defined in Gerrit
34 Trigger global configuration. (ex: Primary)
36 **GitHub required parameters**:
38 :git-url: Set this to the base URL of your GitHub repo. In
39 general this should be <https://github.com>. If you are using
40 GitHub Enterprise, or some other GitHub-style system, then it
41 should be whatever your installation base URL is.
43 :git-clone-url: This is the clone prefix used by GitHub jobs.
44 Set this to either the same thing as **git-url** or the
45 'git@github.com:' including the trailing ':'
47 :github-org: The name of the GitHub organization interpolated
50 :github_pr_org: The name of the GitHub organization. All members
51 of this organization will be able to trigger any job using the
52 `lf-infra-github-pr` macro.
54 :github_pr_whitelist: List of GitHub members you wish to be able to
55 trigger any job that uses the `lf-infra-github-pr-trigger` macro.
57 :github_pr_admin_list: List of GitHub members that will have admin
58 privileges on any job using the `lf-infra-github-pr-trigger` macro.
68 jenkins-ssh-credential: jenkins-ssh
69 gerrit-server-name: OpenDaylight
70 lftools-version: '<1.0.0'
71 mvn-site-id: opendaylight-site
72 mvn-staging-id: opendaylight-staging
82 jenkins-ssh-credential: jenkins-ssh
90 lftools-version: '<1.0.0'
91 mvn-site-id: opendaylight-site
92 mvn-staging-id: opendaylight-staging
99 global-jjb makes use of the Jenkins Config File Provider plugin to provide some
100 default configurations for certain tools. This section details the files to
101 define in Jenkins' **Manage Files** configuration.
108 This file contains default npmrc configuration and lives in $HOME/.npmrc.
109 Documentation for npmrc is available via the `npm project
110 <https://docs.npmjs.com/files/npmrc>`_.
112 :Required: This file MUST exist. An empty file is acceptable if a
113 proxy is not available for the project.
116 Create a "Custom file" with contents:
120 registry = https://nexus.opendaylight.org/content/repositories/npmjs/
127 This file contains default configuration for the python-pip tool and lives
128 in $HOME/.config/pip/pip.conf. Documentation for pip.conf is available via the
129 `pip project <https://pip.readthedocs.io/en/stable/user_guide/#configuration>`_.
131 :Required: This file MUST exist. An empty file is acceptable if a
132 proxy is not available for the project.
135 Create a "Custom file" with contents:
141 index-url = https://nexus3.opendaylight.org/repository/PyPi/simple
148 .. _jenkins-cfg-merge:
153 This job manages Jenkins Global configuration. Refer to
154 the :ref:`CI Documentation <lf-global-jjb-jenkins-cfg-merge>` for job
155 configuration details.
162 The logs account requires a Maven Settings file created called
163 **jenkins-log-archives-settings** with a server ID of **logs** containing the
164 credentials for the logs user in Nexus.