Jenkins Slave

  • By Jenkins CI Charmers
Channel Version Revision Published Runs on
latest/stable 14 14 01 Nov 2021
Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04 Ubuntu 14.04
juju deploy jenkins-slave
Show information

Platform:

Ubuntu
20.04 18.04 16.04 14.04

Overview

This charm provisions a Jenkins slave to connect to a Jenkins master. This is the companion to the Jenkins charm.

Usage

To deploy a Jenkins slave you will also need to deploy the jenkins master charm. This can be done as follows:

juju deploy jenkins
juju deploy -n 5 jenkins-slave
juju add-relation jenkins jenkins-slave

There are cases where you want to provision a specific machine that provides specific resources for tests, such as CPU architecture or network access. You can deploy the extra slave like this:

juju add-machine <special-machine-private-ip>
juju deploy --to <special-mabine-number> jenkins-slave ppc-slave

See the Jenkins charm for more details.

Notes

We can't use interface:jenkins-slave yet as it's not fully implemented.