Change compare type from REG_EXP to ANT 72/1272/1
authorYolanda Robla <yroblamo@redhat.com>
Fri, 26 Jul 2019 13:16:14 +0000 (15:16 +0200)
committerYolanda Robla <yroblamo@redhat.com>
Fri, 26 Jul 2019 13:16:14 +0000 (15:16 +0200)
In order to trigger the job on file changes properly,
change the compare type from REG_EXP to ANT.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I275a9ebf08b49bb0d3672d0e321f371936c01346

jjb/akraino-templates/akraino-jjb-kni.yaml

index b26f33c..16f0db5 100644 (file)
           jenkins-ssh-credential: '{jenkins-ssh-credential}'
 
     gerrit_trigger_file_paths:
-      - compare-type: REG_EXP
+      - compare-type: ANT
         pattern: 'Makefile'
-      - compare-type: REG_EXP
+      - compare-type: ANT
         pattern: 'cmd/binary.go'
 
     gerrit_verify_triggers:
               key-file-variable: KNI_KEY_PATH
 
     gerrit_trigger_file_paths:
-      - compare-type: REG_EXP
+      - compare-type: ANT
         pattern: 'profiles/production.aws/**'
-      - compare-type: REG_EXP
+      - compare-type: ANT
         pattern: 'sites/testing.aws.edge-sites.net/**'
-      - compare-type: REG_EXP
+      - compare-type: ANT
         pattern: 'base/**'
 
     gerrit_verify_triggers:
               key-file-variable: KNI_KEY_PATH
 
     gerrit_trigger_file_paths:
-      - compare-type: REG_EXP
+      - compare-type: ANT
         pattern: 'profiles/testing.libvirt/**'
-      - compare-type: REG_EXP
+      - compare-type: ANT
         pattern: 'sites/testing.virt.edge-sites.net/**'
-      - compare-type: REG_EXP
+      - compare-type: ANT
         pattern: 'base/**'
 
     gerrit_verify_triggers: