From 8ccc9b9c5f8631414a909b17708b21e86145ed71 Mon Sep 17 00:00:00 2001 From: Fabien Boucher Date: Jul 21 2021 19:36:08 +0000 Subject: Fix check-for-fmf-test job check skip condition --- diff --git a/playbooks/rpm/check-for-fmf-tests.yaml b/playbooks/rpm/check-for-fmf-tests.yaml index f26bc55..2d5433b 100644 --- a/playbooks/rpm/check-for-fmf-tests.yaml +++ b/playbooks/rpm/check-for-fmf-tests.yaml @@ -3,7 +3,7 @@ tasks: - name: Check for .fmf exists stat: - path: "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}/.fmf" + path: "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}/.fmf/version" register: tests_stat - zuul_return: data: @@ -11,3 +11,8 @@ child_jobs: - rpm-tmt-test when: tests_stat.stat.exists + - zuul_return: + data: + zuul: + child_jobs: [] + when: not tests_stat.stat.exists