Add noTests parameter
Add a "noTests" config parameter

Add a new configuration parameter to skip tests and static checks.
If true, also skip reporting. By default false.

This can be used to make builds do only the bare minimum to produce
JARs and a p2 update site.

This is intended for exceptional use only, for instance if the CI
infrastructure is overloaded or otherwise has problems, or unstable
tests make build fails constantly, and you need to get a release out
of the door. It is assumed that tests have been run locally.

Change-Id: I120ab054c625de48ef67a041e70b9be6901b3b08
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
3 files changed
tree: ba97cf8913bada8b3af3aa9b4dc1867038bb6323
  1. .classpath
  2. .gitignore
  3. .project
  4. .settings/
  5. LICENSE
  6. README.md
  7. src/
  8. vars/
README.md

EGit Jenkins Pipelines

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.

License

The content of this repository is licensed under the EPL 2.0.

SPDX-License-Identifier: EPL-2.0