mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 16:33:08 -06:00
remove debugs and edit status check on ln 48
This commit is contained in:
committed by
Steve Smith
parent
007c9b7dda
commit
a57edf7a9b
@@ -30,18 +30,11 @@
|
||||
body_format: json
|
||||
return_content: yes
|
||||
register: output
|
||||
until: output.status == 200
|
||||
until: output is defined and output.status == 200 and output.json is defined and output.json.state != 'INITIALISING'
|
||||
retries: 6
|
||||
delay: 15
|
||||
failed_when: output is defined and output.json is defined and output.json.state != 'INITIALISING'
|
||||
#failed_when: "'INITIALISING' not in output.content"
|
||||
|
||||
- name: get status of import
|
||||
debug: var=output.json.state
|
||||
|
||||
- name: get status of import
|
||||
debug: var=output.json.id
|
||||
|
||||
- name: get import status
|
||||
uri:
|
||||
url: "{{ atl_bitbucket_baseurl }}/rest/api/1.0/migration/imports/{{ output.json.id }}"
|
||||
|
||||
Reference in New Issue
Block a user