Jenkins Agent

  • By Alexandre Gomes
juju deploy jenkins-agent-k8s
Show information
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.
Channel Version Revision Published Base
latest/stable 3 3 21 May 2021
20.04
latest/edge 3 3 25 May 2021
20.04

Platform:

For any problems with this charm, please report bugs here.

The code for this charm can be downloaded as follows:

git clone https://git.launchpad.net/charm-k8s-jenkins-agent

To run tests, simply run make test from within the charm code directory.

Testing the docker image

Deploy Jenkins locally per the section above, including setting the relevant variables,
then build the image locally as follows:

make build-image
docker run --rm -ti --name jenkins-agent-test \
 -e JENKINS_API_USER=admin \
 -e JENKINS_API_TOKEN="${JENKINS_API_TOKEN}" \
 -e JENKINS_URL="http://${JENKINS_IP}:8080" \
 -e JENKINS_HOSTNAME="jenkins-agent-test" "jenkins-agent-k8s:devel"

Help us improve this documentation

Most of this documentation can be collaboratively discussed and changed on the respective topic in the doc category of the Charmhub forum. See the documentation guidelines if you’d like to contribute.

Last updated 7 months ago. Help improve this document in the forum.