mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 08:23:06 -06:00
ITSD-94667 Debug Tue 14 Jun 2022 16:05:57 AEST
This commit is contained in:
@@ -1,43 +1,43 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Source jira-servicedesk obr from marketplace
|
# - name: Source jira-servicedesk obr from marketplace
|
||||||
block:
|
# block:
|
||||||
|
|
||||||
- name: Get the installer product version info
|
- name: Get the installer product version info
|
||||||
uri:
|
uri:
|
||||||
url: "{{ atl_mpac_products }}/key/jira/versions/name/{{ atl_product_version }}"
|
url: "{{ atl_mpac_products }}/key/jira/versions/name/{{ atl_product_version }}"
|
||||||
return_content: yes
|
return_content: yes
|
||||||
register: atl_product_version_info
|
register: atl_product_version_info
|
||||||
|
|
||||||
- name: Show the returned build number
|
- name: Show the returned build number
|
||||||
debug:
|
debug:
|
||||||
msg="buildNumber={{ atl_product_version_info.json.buildNumber }}"
|
msg="buildNumber={{ atl_product_version_info.json.buildNumber }}"
|
||||||
|
|
||||||
- name: Get the JSD build version info
|
- name: Get the JSD build version info
|
||||||
uri:
|
uri:
|
||||||
url: "{{ atl_mpac_products }}/key/jira-servicedesk/versions/latest?application=\
|
url: "{{ atl_mpac_products }}/key/jira-servicedesk/versions/latest?application=\
|
||||||
jira&applicationBuild={{ atl_product_version_info.json.buildNumber }}"
|
jira&applicationBuild={{ atl_product_version_info.json.buildNumber }}"
|
||||||
return_content: yes
|
return_content: yes
|
||||||
register: atl_jsd_build_info
|
register: atl_jsd_build_info
|
||||||
|
|
||||||
- name: Show the returned obr binary href
|
- name: Show the returned obr binary href
|
||||||
debug:
|
debug:
|
||||||
msg="obr_ref={{ atl_jsd_build_info.json._embedded.artifact._links.binary.href }}"
|
msg="obr_ref={{ atl_jsd_build_info.json._embedded.artifact._links.binary.href }}"
|
||||||
|
|
||||||
- name: Set atl_obr_download_url
|
- name: Set atl_obr_download_url
|
||||||
set_fact:
|
set_fact:
|
||||||
atl_obr_download_url: "{{ atl_jsd_build_info.json._embedded.artifact._links.binary.href }}"
|
atl_obr_download_url: "{{ atl_jsd_build_info.json._embedded.artifact._links.binary.href }}"
|
||||||
|
|
||||||
- name: Show the obr filename
|
- name: Show the obr filename
|
||||||
debug:
|
debug:
|
||||||
msg="obr_name=jira-servicedesk-application-{{ atl_jsd_build_info.json.name }}.obr"
|
msg="obr_name=jira-servicedesk-application-{{ atl_jsd_build_info.json.name }}.obr"
|
||||||
|
|
||||||
- name: Set the obr filename
|
- name: Set the obr filename
|
||||||
set_fact:
|
set_fact:
|
||||||
atl_obr_filename: "jira-servicedesk-application-{{ atl_jsd_build_info.json.name }}.obr"
|
atl_obr_filename: "jira-servicedesk-application-{{ atl_jsd_build_info.json.name }}.obr"
|
||||||
|
|
||||||
when:
|
# when:
|
||||||
- atl_obr_download_url is undefined
|
# - atl_obr_download_url is undefined
|
||||||
|
|
||||||
- name: is shared_home set ?
|
- name: is shared_home set ?
|
||||||
debug:
|
debug:
|
||||||
|
|||||||
Reference in New Issue
Block a user