8 lf-fetch-dependent-patches
9 --------------------------
11 Fetch all patches provided via comment trigger
13 This macro will fetch all patches provided via comment trigger and will
14 create a list of projects from those patches via environment variable
15 called DEPENDENCY_BUILD_ORDER which can be used if necessary to build
16 projects in the specified order. The order is determined by first patch
17 instance for a project in the patch list.
22 Create a ~/.netrc file from a Maven settings.xml
26 :server-id: The id of a server as defined in settings.xml.
28 lf-infra-deploy-maven-file
29 --------------------------
31 Deploy files to a repository.
35 :global-settings-file: Global settings file to use.
36 :group-id: Group ID of the repository.
37 :maven-repo-url: URL of a Maven repository to upload to.
38 :mvn-version: Version of Maven to use.
39 :repo-id: Repository ID
40 :settings-file: Maven settings file to use.
41 :upload-files-dir: Path to directory containing one or more files
46 Login into a custom hosted docker registry and / or docker.io
48 The Jenkins system should have the following global variables defined
50 :Environment variables:
52 :DOCKER_REGISTRY: The DNS address of the registry (IP or FQDN)
53 ex: nexus3.example.com (GLOBAL variable)
55 :REGISTRY_PORTS: Required if DOCKER_REGISTRY is set. Space separated list
56 of the registry ports to login to. ex: 10001 10002 10003 10004
59 :DOCKERHUB_EMAIL: If this variable is set then an attempt to login to
60 DockerHub (docker.io) will be also made. It should be set to the email
61 address for the credentials that will get looked up. Only _one_
62 credential will ever be found in the maven settings file for DockerHub.
65 lf-infra-gpg-verify-git-signature
66 ---------------------------------
68 Verify gpg signature of the latest commit message in $WORKSPACE.
69 This command assumes that $WORKSPACE is a git repo.
74 Run `packer build` to build system images.
76 lf-infra-packer-validate
77 ------------------------
79 Run `packer validate` to verify packer configuration.
83 :packer-cloud-settings: Cloud configuration file. Loaded on the build
84 server as CLOUDENV environment variable.
85 :packer-version: Version of packer to use.
90 Gather and deploy logs to a log server.
95 Retrieves system stats.
97 lf-jacoco-nojava-workaround
98 ---------------------------
100 Workaround for Jenkins not able to find Java in JaCoCo runs.
105 Call maven-target builder with a goal of --version to force Jenkins to
106 install the need provided version of Maven. This is needed for any shell scripts
107 that want to use Maven.
109 :Required parameters:
111 :mvn-version: Version of Maven to install.
116 Call pip install to install packages into a virtualenv located in
119 .. note:: The first package listed in PIP_PACKAGES is used as the VENV name.
121 .. _lf-provide-maven-settings
123 lf-provide-maven-settings
124 -------------------------
126 Push a global settings and user settings maven files to the build node.
128 lf-provide-maven-settings-cleanup
129 ---------------------------------
131 Cleanup maven settings.xml configuration. This should be called at the end of
132 any macros that calles the
133 :ref:`lf-provide-maven-settings <lf-provide-maven-settings>` macro.
138 Script to trigger a build on http://readthedocs.org
143 ReadTheDocs verify script.
148 lf-infra-maven-parameters
149 -------------------------
151 Provides parameters needed by Maven. Should be used by any jobs that need to
157 Standard parameters used in the LF CI environments. Gerrit variables are
158 not used by GitHub projects, but defining them is not harmful. Should be used
159 in every job template.
161 lf-infra-node-parameters
162 ------------------------
164 Provides parameters needed by NodeJS and NPM. Should be used by any jobs that
165 need to run NodeJS or NPM.
167 lf-infra-tox-parameters
168 -----------------------
170 Provides parameters needed by python-tox. Should be used by any jobs that need
171 to run `tox <https://tox.readthedocs.io>`.
179 Configures the build-discarder plugin for Jenkins with the recommended lf-infra
180 settings. Should be used in all job-templates.
188 Provides basic configuration for the JaCoCo plugin.
193 Provides basic lf-infra recommended publisher configurations which should be
194 used in all job templates. This primary objective of this trigger is to
195 gather build logs and copy them to a log server.
203 Basic SCM configuration for Gerrit based projects.
208 Basic SCM configuration for GitHub based projects.
213 lf-infra-github-pr-trigger
214 --------------------------
216 Provides configuration for a GitHub PR Trigger.
224 Provides lf-infra recommended wrappers which should be used in every