--- - name: Fetch previous result include_tasks: fetch-result.yaml when: - zj_artifact.metadata is defined - zj_artifact.metadata.type is defined - zj_artifact.metadata.type == "phoronix_result" loop: "{{ zuul.artifacts }}" loop_control: loop_var: zj_artifact - name: List previous result name command: "ls {{ ansible_env.HOME }}/test-results/" register: previous_results - name: Merge result shell: | set -o pipefail yes | phoronix-test-suite merge-results {{ ' '.join(previous_results.stdout_lines) }} args: executable: /bin/bash