jenkins/core-pr-tester

Sponsored OSS

By Jenkins

Updated 3 months ago

Docker image for testing pull-requests sent to https://github.com/jenkinsci/jenkins

Image
Languages & frameworks
Integration & delivery
2

50K+

jenkins/core-pr-tester repository overview

Jenkins Pull-Request Tester Docker Image

Lets you test a pull-request on the Jenkins project in a clean environment.

How to use

$ docker run --rm -ti -p 8080:8080 -e ID=2200 jenkins/core-pr-tester
How to merge with master branch

An additional environment variable MERGE_WITH= can be passed to merge the PR with any existing branch from the repository, before starting the build.

NOTE: the merge must not have conflict, or the whole execution will fail and stop.

Example:

$ docker run --rm -ti -p 8080:8080 -e ID=2200 -e MERGE_WITH=master jenkins/core-pr-tester

Misc

WTF: that image is very big, and one layer is 500+ MB!

To accelerate testing at __run__time, the Docker image has been built trying to cache as much as possible things required to build Jenkins. Like, for example, the Jenkins Maven dependencies both for 1.x and 2.x. That results in a very big layer especially for that part.

The goal is that Maven has ideally to download no new dependency to build the requested pull request.

Tag summary

Content type

Image

Digest

sha256:35141a4d1

Size

926.7 MB

Last updated

3 months ago

docker pull jenkins/core-pr-tester

This week's pulls

Pulls:

1,221

Jul 27 to Aug 2