mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 08:23:06 -06:00
ITSD-94667 Add atl_jsd_build manual set for testing
This commit is contained in:
@@ -35,13 +35,17 @@
|
|||||||
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: Marketplace OBR - Set atl_jsd_build
|
||||||
|
set_fact:
|
||||||
|
atl_jsd_build: "{{ atl_jsd_build_info.json.name }}"
|
||||||
|
|
||||||
- name: Marketplace OBR - 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 }}.obr"
|
||||||
|
|
||||||
- name: Marketplace OBR - 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 }}.obr"
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- atl_source_obr_from_marketplace
|
- atl_source_obr_from_marketplace
|
||||||
@@ -57,6 +61,9 @@
|
|||||||
set_fact:
|
set_fact:
|
||||||
atl_obr_filename: "{{ atl_obr_download_url | basename }}"
|
atl_obr_filename: "{{ atl_obr_download_url | basename }}"
|
||||||
|
|
||||||
|
- name: Alternate URL OBR - Show atl_jsd_build (manual)
|
||||||
|
debug:
|
||||||
|
msg="atl_jsd_build={{ atl_jsd_build }}"
|
||||||
when:
|
when:
|
||||||
- atl_source_obr_from_url
|
- atl_source_obr_from_url
|
||||||
|
|
||||||
@@ -193,7 +200,7 @@
|
|||||||
remote_src: true
|
remote_src: true
|
||||||
src: "{{ atl_obr_download }}"
|
src: "{{ atl_obr_download }}"
|
||||||
dest: "{{ atl_product_home_shared }}/plugins/installed-plugins"
|
dest: "{{ atl_product_home_shared }}/plugins/installed-plugins"
|
||||||
creates: "{{ atl_product_home_shared }}/plugins/installed-plugins/jira-servicedesk-application-{{ atl_jsd_build_info.json.name }}.jar"
|
creates: "{{ atl_product_home_shared }}/plugins/installed-plugins/jira-servicedesk-application-{{ atl_jsd_build }}.jar"
|
||||||
list_files: no
|
list_files: no
|
||||||
exclude:
|
exclude:
|
||||||
- M*
|
- M*
|
||||||
@@ -206,5 +213,5 @@
|
|||||||
- name: Move JSD dependency jars into the installed-plugins dir # noqa 503 - ignore lint info about when changed
|
- name: Move JSD dependency jars into the installed-plugins dir # noqa 503 - ignore lint info about when changed
|
||||||
shell:
|
shell:
|
||||||
cmd: "mv {{ atl_product_home_shared }}/plugins/installed-plugins/dependencies/*.jar {{ atl_product_home_shared }}/plugins/installed-plugins"
|
cmd: "mv {{ atl_product_home_shared }}/plugins/installed-plugins/dependencies/*.jar {{ atl_product_home_shared }}/plugins/installed-plugins"
|
||||||
creates: "{{ atl_product_home_shared }}/plugins/installed-plugins/servicedesk-core-ui-plugin-{{ atl_jsd_build_info.json.name }}-*.jar"
|
creates: "{{ atl_product_home_shared }}/plugins/installed-plugins/servicedesk-core-ui-plugin-{{ atl_jsd_build }}-*.jar"
|
||||||
when: obr_unpack.changed
|
when: obr_unpack.changed
|
||||||
|
|||||||
Reference in New Issue
Block a user