]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-ansible-prs: fix wrong syntax in trigger-phrase 918/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 15 Nov 2017 10:27:48 +0000 (11:27 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 15 Nov 2017 10:57:44 +0000 (11:57 +0100)
`stable-2.2` is not a correct syntax because it is interpreted as a regexp.

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

index c9938d772ab314a1040829cc453513de6a78ccbe..8d3ed3b06bd3561b644578da7c7786ccc4e59091 100644 (file)
@@ -15,7 +15,7 @@
         - 'ceph-ansible-prs-auto'
 
 - project:
-    name: ceph-ansible-2.2-prs
+    name: ceph-ansible-prs-oldstable-trigger
     slave_labels: 'vagrant && libvirt && smithi'
     release:
       - jewel
@@ -26,7 +26,7 @@
       - xenial_cluster
       - docker_cluster
     jobs:
-        - 'ceph-ansible-2.2-prs'
+        - 'ceph-ansible-prs-oldstable-trigger'
 
 # tests that will not auto start when a PR is created, but
 # they can be requested with a trigger phrase. Run on smithi.
@@ -90,7 +90,7 @@
 
 - job-template:
     name: 'ceph-ansible-prs-{release}-{ansible_version}-{scenario}'
-    id: 'ceph-ansible-2.2-prs'
+    id: 'ceph-ansible-prs-oldstable-trigger'
     node: '{slave_labels}'
     concurrent: true
     defaults: global
           org-list:
             - ceph
           skip-build-phrase: '^jenkins do not test.*'
-          trigger-phrase: '^jenkins test stable-2.2 {release}-{ansible_version}-{scenario}|jenkins test stable-2.2.*'
+          trigger-phrase: '^jenkins test oldstable {release}-{ansible_version}-{scenario}|jenkins test oldstable.*'
           only-trigger-phrase: true
           github-hooks: false
           permit-all: true