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:39:51 AEST
This commit is contained in:
@@ -10,36 +10,36 @@
|
|||||||
- name: Source jira-servicedesk obr from marketplace
|
- name: Source jira-servicedesk obr from marketplace
|
||||||
block:
|
block:
|
||||||
|
|
||||||
- name: Get the installer product version info
|
- name: Marketplace OBR - 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: Marketplace OBR - 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: Marketplace OBR - 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: Marketplace OBR - 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: Marketplace OBR - 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: Marketplace OBR - 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: Marketplace OBR - 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"
|
||||||
|
|
||||||
@@ -49,11 +49,11 @@
|
|||||||
- name: Source jira-servicedesk obr from alternate url
|
- name: Source jira-servicedesk obr from alternate url
|
||||||
block:
|
block:
|
||||||
|
|
||||||
- name: Show the obr filename
|
- name: Alternate URL OBR - Show the obr filename
|
||||||
debug:
|
debug:
|
||||||
msg="obr_name={{ atl_obr_download_url | basename }}"
|
msg="obr_name={{ atl_obr_download_url | basename }}"
|
||||||
|
|
||||||
- name: Set the obr filename
|
- name: Alternate URL OBR - Set the obr filename
|
||||||
set_fact:
|
set_fact:
|
||||||
atl_obr_filename: "{{ atl_obr_download_url | basename }}"
|
atl_obr_filename: "{{ atl_obr_download_url | basename }}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user