mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
add ignore_errors and expand json key name
This commit is contained in:
committed by
Steve Smith
parent
88bdd58a24
commit
4ff1080f29
@@ -33,14 +33,17 @@
|
|||||||
until: response.status == 200
|
until: response.status == 200
|
||||||
retries: 6
|
retries: 6
|
||||||
delay: 15
|
delay: 15
|
||||||
failed_when: response.json.state != 'INITIALISING'
|
failed_when: response.response.json.state != 'INITIALISING'
|
||||||
|
|
||||||
- name: get status of import
|
- name: get status of import
|
||||||
debug: var=response
|
debug: var=response
|
||||||
|
ignore_errors: True
|
||||||
|
|
||||||
- name: get job id
|
- name: get job id
|
||||||
debug: var=response.json.state
|
debug: var=response.response.json.state
|
||||||
|
ignore_errors: True
|
||||||
|
|
||||||
- name: get job id
|
- name: get job id
|
||||||
debug: var=response.json.id
|
debug: var=response.json.id
|
||||||
|
ignore_errors: True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user