jenkins_job
Collection: community.general
Full Name: parallax.community.general.jenkins_job
Aliases: community.general.jenkins_job, jenkins_job
Synopsis
Manage jenkins job
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| name | string | yes | Name of the Jenkins job | |
| config | string | XML config for the Jenkins job | ||
| url | string | http://localhost:8080 | URL of the Jenkins server | |
| state | string | present | State of the job Choices: present, absent, enabled, disabled | |
| enabled | bool | true | Whether the job should be enabled | |
| user | string | User for Jenkins authentication | ||
| password | string | Password for Jenkins authentication | ||
| token | string | API token for Jenkins authentication | ||
| validate_certs | bool | true | Whether to validate SSL certificates |
Example
- name: Example jenkins_job task
jenkins_job:
name: <your_name>