commit | 5600487382d87007957f5811dafdfb1fa69b01b8 | [log] [tgz] |
---|---|---|
author | Thomas Wolf <thomas.wolf@paranor.ch> | Thu Jun 17 11:15:53 2021 +0200 |
committer | Thomas Wolf <thomas.wolf@paranor.ch> | Thu Jun 17 11:58:34 2021 +0200 |
tree | 17476ce0f26a3d9092e12b9468f46feb00bd29c4 | |
parent | 6885990d23dc87d925ba28bd2ca50c1fa3a798dc [diff] |
Enable running product builds on PluginRefUpdatedEvent Product builds until now are triggered on PluginChangeMergedEvent, resulting in one build per submitted Gerrit change if multiple changes are submitted at once ("Submit including parents"). Triggering on PluginRefUpdatedEvent should trigger only one build for the whole change series. The GerritTrigger plug-in in Jenkins sets different environment variables for these two cases. Adapt the pipeline scripts so they can work with either. Bug: 552963 Change-Id: Iea3cd90c5f77dc4d1f6e169b92a72de714bb5e23 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
This repository contains the EGit Jenkins pipeline library.
For general information about Jenkins pipeline shared libraries see the Jenkins documentation.
Jenkins pipelines are written in Groovy; for development in Eclipse it may help to install the Groovy Development Tools. Be aware, though, that GDT patches the JDT Java compiler; a particular version of GDT thus works only with a particular version of JDT. If you use an Eclipse I-build (nightly development build for the next release), GDT will fail to install.
The library is intended to be used for the Jenkins builds of the egit/egit and the egit/egit-github repositories.
It provides several kinds of general pipelines that can be configured:
verifyBuild
is a simple pipeline that builds and runs the tests for a Gerrit patch set.productBuild
is intended to be run when a Gerrit patch set is submitted and builds a full distribution (nightly or stable build).uiNode
encapsulates the general Jenkins slave setup to run a build including UI tests on a JIRO node.
Directory src
contains auxiliary Groovy classes encapsulating generally useful operations.
The content of this repository is licensed under the EPL 2.0.
SPDX-License-Identifier: EPL-2.0