cloudbees/java-build-tools-dockerfile

Name: java-build-tools-dockerfile

Owner: CloudBees

Description: Docker container with tools to build Java applications with Jenkins

Created: 2015-09-14 06:11:55.0

Updated: 2018-05-16 08:59:47.0

Pushed: 2018-04-04 17:31:35.0

Homepage: null

Size: 46

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Description

Docker image with all the commonly used tools to build Java applications on Jenkins slaves.

We have decided to bundle many tools in the same image to cover as many Java use cases as possible. In a second iteration, we plan to offer granularity in the tools installed on the image, maybe using a Dockerfile generator.

Supported tags and respective Dockerfile links

How to use this Docker image

This Docker image is intended to be used with the Jenkins Docker Pipeline Plugin.

Java

Sample with Maven and the Jenkins Docker Pipeline Plugin and Pipeline Maven Plugin.

 ("docker"){
git "https://github.com/cloudbees-community/game-of-life"
docker.image("cloudbees/java-build-tools").inside {
    withMaven(mavenSettingsConfig:'my-maven-settings') {
       sh "mvn clean deploy"
    }
}

Selenium

The docker image enables Selenium tests bundling Firefox and starting selenium-server-standalone (listening on the default port 4444).

Selenium Sample with Java
rt org.openqa.selenium.WebDriver;
rt org.openqa.selenium.remote.DesiredCapabilities;
rt org.openqa.selenium.remote.RemoteWebDriver;

river webDriver = new RemoteWebDriver(DesiredCapabilities.firefox());
river.get("http://www.python.org");
river.getTitle();
Selenium Sample with Python
 selenium import webdriver
 selenium.webdriver.common.desired_capabilities import DesiredCapabilities

er = webdriver.Remote(
ommand_executor='http://127.0.0.1:4444/wd/hub',
esired_capabilities=DesiredCapabilities.FIREFOX)

er.get('http://python.org')

Version latest

Version 2.2.0

Version 2.1.0

Version 2.0.0

Version 1.0.1

Version 1.0.0

Version 0.0.7.1

Version 0.0.6

This version has been tested with Docker 1.9.1

Release Notes

See the GitHub release notes.

About this repository

This repository is available on github.com/cloudbees/java-build-tools-dockerfile/, and the automated build is on the Docker Hub.

User Feedback

Issues

If you have any problems with or questions about this image, please submit a GitHub issue.

Contributing

If you have a contribution for this repository, please send a pull request.

If you want to contribute to Jenkins CI, see the Contributing to Jenkins.

License

The cloudbees/java-build-tools image is licensed under the Apache License, Version 2.0, and this repository is too:

right 2015 CloudBees, Inc


nsed under the Apache License, Version 2.0 (the "License");
may not use this file except in compliance with the License.
may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

ss required by applicable law or agreed to in writing, software
ributed under the License is distributed on an "AS IS" BASIS,
OUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
the License for the specific language governing permissions and
tations under the License.

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.