|author||Thomas Wolf <firstname.lastname@example.org>||Sat Jan 23 20:11:45 2021 +0100|
|committer||Thomas Wolf <email@example.com>||Sat Jan 23 20:11:45 2021 +0100|
Force a Java 1.8 JDK EGit needs to be built with Java 1.8 for backwards compatibility reasons. It shall be possible to use EGit with older Eclipse versions before 2020-09, which didn't require Java 11. Set the toolchain explicitly to 'adoptopenjdk-hotspot-jdk8-latest' by default. This default can be overridden via config option config.jdk. Bug: 570591 Change-Id: I3f8fd95782bd8d4994c7ff7295e1a7ed6b9069e2 Signed-off-by: Thomas Wolf <firstname.lastname@example.org>
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:
verifyBuildis a simple pipeline that builds and runs the tests for a Gerrit patch set.
productBuildis 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.
src contains auxiliary Groovy classes encapsulating generally useful operations.
The content of this repository is licensed under the EPL 2.0.