mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 08:23:06 -06:00
ITSD-94667 Fixed an error whereby the obr filename for alternate was coming from a directory (if sourced from a test marketplace URL)
This commit is contained in:
@@ -49,24 +49,19 @@
|
|||||||
when:
|
when:
|
||||||
- atl_source_obr_from_marketplace | bool
|
- atl_source_obr_from_marketplace | bool
|
||||||
|
|
||||||
|
# When sourcing jira-servicedesk from marketplace the atl_jsd_build is source by querying api.
|
||||||
|
# In this case atl_jsd_build must be passed manually by flag
|
||||||
|
|
||||||
- name: Source jira-servicedesk obr from alternate url
|
- name: Source jira-servicedesk obr from alternate url
|
||||||
block:
|
block:
|
||||||
|
|
||||||
- name: Alternate URL OBR - 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=jira-servicedesk-application-{{ atl_jsd_build }}.obr"
|
||||||
|
|
||||||
- name: Alternate URL OBR - Set the obr filename
|
- name: Alternate OBR - Set the obr filename
|
||||||
set_fact:
|
set_fact:
|
||||||
atl_obr_filename: "{{ atl_obr_download_url | basename }}"
|
atl_obr_filename: "jira-servicedesk-application-{{ atl_jsd_build }}.obr"
|
||||||
|
|
||||||
- name: Alternate URL OBR - Show atl_jsd_build (manual)
|
|
||||||
debug:
|
|
||||||
msg="atl_jsd_build={{ atl_jsd_build }}"
|
|
||||||
|
|
||||||
- name: Alernate URL OBR - Show atl_product_version
|
|
||||||
debug:
|
|
||||||
msg="atl_product_version={{ atl_product_version }}"
|
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- not atl_source_obr_from_marketplace | bool
|
- not atl_source_obr_from_marketplace | bool
|
||||||
|
|||||||
Reference in New Issue
Block a user