mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
add debug statements
This commit is contained in:
committed by
Steve Smith
parent
1d4db60f8d
commit
67741367b9
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
- name: Invoke Import API
|
- name: Invoke Import API
|
||||||
uri:
|
uri:
|
||||||
url: http://localhost:7990/rest/api/1.0/migration/imports
|
url: "{{ atl_bitbucket_dataset_url }}/rest/api/1.0/migration/imports"
|
||||||
user: admin
|
user: admin
|
||||||
password: "{{ atl_bitbucket_admin_password }}"
|
password: "{{ atl_bitbucket_admin_password }}"
|
||||||
method: POST
|
method: POST
|
||||||
@@ -33,7 +33,11 @@
|
|||||||
until: response.status == 200
|
until: response.status == 200
|
||||||
retries: 6
|
retries: 6
|
||||||
delay: 15
|
delay: 15
|
||||||
failed_when: "'INITIALISING' not in response.content"
|
failed_when: response['state'] != 'INITIALISING'
|
||||||
|
|
||||||
- name: get status of import
|
- name: get status of import
|
||||||
debug: var=response
|
debug: var=response
|
||||||
|
|
||||||
|
- name: get job id
|
||||||
|
debug: var=response['id']
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user