Jenkins agent
- By Andrew Liaw
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 6 | 18 Jan 2023 | |
latest/edge | 6 | 15 Dec 2022 |
juju deploy jenkins-agent-k8s
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.
Deploy Kubernetes operators easily with Juju, the Universal Operator Lifecycle Manager. Need a Kubernetes cluster? Install MicroK8s to create a full CNCF-certified Kubernetes system in under 60 seconds.
Platform:
-
jenkins_agent_labels | string
Comma-separated list of labels to be assigned to the agent in Jenkins. If not set it will default to the agents hardware identifier, e.g.: 'x86_64'
-
jenkins_agent_name | string
Agent name as configured in Jenkins. Multiple names can be input by using `:` as a separator. Example: "agent-one:agent-two:agent-three"
-
jenkins_agent_token | string
Agent token provided by Jenkins. Can be found in your Jenkins instance at ${JENKINS_URL}/computer/${AGENT_NAME}/. Multiple tokens can be input by using `:` as a separator matching the order of the agents in `jenkins_agent_name`. Example: "token-one:token-two:token-three"
-
jenkins_url | string
Configure the agent to use an explicit Jenkins instead of using the jenkins-agent relation. This allows the agent to connect to a Jenkins instance not managed by Juju.