mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-02-04 07:51:50 +00:00
jenkins_build: docs example for trigger with custom polling interval (#10335)
This commit is contained in:
parent
dd13592034
commit
2ec3d02215
1 changed files with 10 additions and 0 deletions
|
|
@ -99,6 +99,16 @@ EXAMPLES = r"""
|
|||
state: stopped
|
||||
url: http://localhost:8080
|
||||
|
||||
- name: Trigger Jenkins build in detached mode
|
||||
community.general.jenkins_build:
|
||||
name: "detached-build"
|
||||
state: present
|
||||
user: admin
|
||||
token: abcdefghijklmnopqrstuvwxyz123456
|
||||
url: http://localhost:8080
|
||||
detach: true
|
||||
time_between_checks: 20
|
||||
|
||||
- name: Delete a jenkins build using token authentication
|
||||
community.general.jenkins_build:
|
||||
name: "delete-experiment"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue