Repair template trigger path 42/642/2
authorLott, Christopher (cl778h) <cl778h@att.com>
Tue, 6 Aug 2019 12:25:58 +0000 (08:25 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Tue, 6 Aug 2019 18:09:49 +0000 (14:09 -0400)
Apparently the YAML template features do not
support multiple interpolation, so this yields b:
    a: b
    c: '{a}'
But the following yields {a}, not the desired b:
    a: b
    c: '{a}'
    d: '{c}'

Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: Iec3479d07359ace6d481c86954e2b7faadb18c00

jjb/ci-management/ci-docker.yaml

index 9c1a72a..974bd63 100644 (file)
@@ -28,7 +28,7 @@
     docker-root: 'docker/{name}'
     gerrit_trigger_file_paths:
       - compare-type: REG_EXP
-        pattern: '{docker-root}/.*'
+        pattern: 'docker/{name}/.*'
     jobs:
       - '{project-name}-gerrit-docker-jobs'
 
@@ -40,7 +40,7 @@
     docker-root: 'docker/{name}'
     gerrit_trigger_file_paths:
       - compare-type: REG_EXP
-        pattern: '{docker-root}/.*'
+        pattern: 'docker/{name}/.*'
     jobs:
       - '{project-name}-gerrit-docker-jobs'
 
@@ -52,7 +52,7 @@
     docker-root: 'docker/{name}'
     gerrit_trigger_file_paths:
       - compare-type: REG_EXP
-        pattern: '{docker-root}/.*'
+        pattern: 'docker/{name}/.*'
     jobs:
       - '{project-name}-gerrit-docker-jobs'
 
@@ -64,6 +64,6 @@
     docker-root: 'docker/{name}'
     gerrit_trigger_file_paths:
       - compare-type: REG_EXP
-        pattern: '{docker-root}/.*'
+        pattern: 'docker/{name}/.*'
     jobs:
       - '{project-name}-gerrit-docker-jobs'