I am using the Kubernetes Jenkins plugin to control jenkins slaves
I want to run all tasks in Docker (create docker images and run tests / assemblies in docker).
jenkins job example:
docker run -e NEXUS_USERNAME=${NEXUS_USERNAME} -e NEXUS_PASSWORD=${NEXUS_PASSWORD} common-dropwizard:latest mvn deploy
I am using jenkinsci / jnlp-slave from here: https://hub.docker.com/r/jenkinsci/jnlp-slave/
Unfortunately, the sub image does not support supporting docker. My question is the best way to achieve this?
thanks
source share