Files
tripleo-quickstart-extras/roles/build-test-packages/tasks/roles.yml
2016-11-21 11:50:20 +01:00

14 lines
546 B
YAML

---
- name: Parse Jenkins changes
jenkins_deps:
host: "{{ lookup('env', 'GERRIT_HOST') }}"
change_id: "{{ lookup('env', 'GERRIT_CHANGE_ID') }}"
branch: "{{ lookup('env', 'GERRIT_BRANCH') }}"
patchset_rev: "{{ lookup('env', 'GERRIT_PATCHSET_REVISION') }}"
when: artg_change_list is not defined and "{{ lookup('env', 'GERRIT_HOST') }}" != ""
- name: Clone and inject the specific changes
include: roles-clone.yml artg_change={{ item }}
with_items: '{{ artg_change_list }}'
when: item.project not in artg_skipped_projects