Jenkins agent

  • By Andrew Liaw
Channel Revision Published Runs on
latest/stable 6 18 Jan 2023
Ubuntu 22.04
latest/edge 10 27 Apr 2023
Ubuntu 22.04
juju deploy jenkins-agent-k8s
Show information

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 2 years ago. Help improve this document in the forum.