]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-ansible-pipeline: fix nautilus jobs
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 2 Apr 2019 13:17:56 +0000 (15:17 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 2 Apr 2019 13:19:35 +0000 (15:19 +0200)
that condition isn't correct.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
ceph-ansible-pipeline/config/definitions/ceph-ansible-pipeline.yml

index 80c7de6ead5a113ca45a0263d0c4085284951e27..503875ea26ea9f2d770d8d4936c27b6ca57725e6 100644 (file)
       - conditional-step:
           condition-kind: shell
           condition-command: |
-            # if the target branch is not master then we DON'T RUN these tests.
-            if [[ "$ghprbTargetBranch" != "stable-4.0" ]]; then
+            # if the target branch is not stable-4.0 then we DON'T RUN these tests.
+            if [[ "$ghprbTargetBranch" =~ stable-3.[0-2]|master ]]; then
               exit 1
             fi
           on-evaluation-failure: dont-run