Package apache Ant and Jmeter together for Jenkins CI in Kubernetes easily.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.dockerignore
.gitignore
Dockerfile
README.md
json-20140107.jar
mysql-connector-java-5.1.30-bin.jar

README.md

ant-jmeter image

Package apache Ant and Jmeter together for Jenkins CI in Kubernetes easily.

The goal is to avoid installing ant or JMeter plugin, no need to do extra things for jmeter usage with ant, just write Jenkinsfile as following:

container ('ant-jmeter') {
  sh 'ant -v && which ant'
  sh 'jmeter -v && which ant'
}

Image tag specification

tag format: qhh0205/ant-jmeter:<ant_version>-<jmeter_version>

Default ant and jmeter version

ant: 1.10.5

jmeter: 5.0

How to build?

The ant and jmeter tools in image are from apache official site, you can rebuild the image with the special version:

docker build -t <repo/image_name>:<image_tag> --build-arg ANT_VERSION=<ant version> --build-arg JMETER_VERSION=<jmeter version> .