jenkins-agent docs: Integrations

Integrations

agent

Interface: jenkins_agent_v0
Supported charms: jenkins-k8s

Jenkins agents provide a way to perform tasks scheduled by the Jenkins server. Jenkins agents are used to distribute workload across multiple containers, allowing parallel execution of jobs.

To create a cross model integration with a jenkins-agent (VM) charm, create an offer from the machine model.

juju offer jenkins-agent:agent

Then, integrate the offer from the Kubernetes model where jenkins-k8s charm resides.

juju integrate jenkins-k8s:agent <controller-name>:<juju-user>/<agent-model>.jenkins-agent

An example of such command would look like the following for the jenkins-k8s charm deployed on MicroK8s.

juju integrate jenkins-k8s:agent localhost:admin/jenkins-agent-model.jenkins-agent