mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-16 09:55:26 -07:00
[PR #10335/2ec3d022 backport][stable-10] jenkins_build: docs example for trigger with custom polling interval (#10354)
jenkins_build: docs example for trigger with custom polling interval (#10335)
(cherry picked from commit 2ec3d02215
)
Co-authored-by: Aditya Putta <puttaa@yahoo.com>
This commit is contained in:
parent
b4eb8e5e22
commit
f3828ba9ca
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