diff --git a/roles/polarion/tasks/main.yml b/roles/polarion/tasks/main.yml index c9c46220cc..b0d8f5db5d 100644 --- a/roles/polarion/tasks/main.yml +++ b/roles/polarion/tasks/main.yml @@ -96,10 +96,11 @@ source "{{ cifmw_polarion_jump_repo_dir }}/jump-venv/bin/activate" && {{ cifmw_polarion_jump_repo_dir }}/jump-venv/bin/python jump.py --testrun-id={{ cifmw_polarion_testrun_id }} - --xml-file={{ item.path | map(attribute='path') }} + --xml-file={{ item.path }} --update_testcases={{ cifmw_polarion_update_testcases | default(false) }} {{ cifmw_polarion_jump_extra_vars | default ('') }} loop: "{{ xml_files.files }}" + when: item.path is defined register: jump_script - name: Output of jump