openqa: use 'shell' not 'command' for a step that needs it
this step uses && and >, needs a shell.
This commit is contained in:
parent
c1f4d29dd8
commit
cc8d3896a7
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@
|
||||||
changed_when: "1 != 1"
|
changed_when: "1 != 1"
|
||||||
|
|
||||||
- name: Check if the tests changed in previous step
|
- name: Check if the tests changed in previous step
|
||||||
command: "/usr/share/openqa/script/dump_templates --json > /tmp/tmpl-new.json && json_diff /tmp/tmpl-old.json /tmp/tmpl-new.json"
|
shell: "/usr/share/openqa/script/dump_templates --json > /tmp/tmpl-new.json && json_diff /tmp/tmpl-old.json /tmp/tmpl-new.json"
|
||||||
when: "gittests|changed"
|
when: "gittests|changed"
|
||||||
register: testsdiff
|
register: testsdiff
|
||||||
changed_when: "testsdiff.rc > 0"
|
changed_when: "testsdiff.rc > 0"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue