Move the gerrit trigger paths under rtd-jobs 06/81106/3
authorAnil Belur <abelur@linuxfoundation.org>
Fri, 22 Mar 2019 00:37:33 +0000 (10:37 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Fri, 22 Mar 2019 00:37:33 +0000 (10:37 +1000)
Move that whole block to right under rtd-jobs to make sure
the path matching only applies to docs patches

Change-Id: Id0f2b96fe7fa0720d2caf51ded349274c7b467e0
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
jjb/lf-infra/lf-infra-jobs.yaml

index 301237dc00ba01c7544c018ab534288071b01596..00e3ff15dc9ea9e38021d58b5b9988dfef046971 100644 (file)
 - project:
     name: lf-infra-global-jjb
     jobs:
-      - '{project-name}-rtd-jobs'
+      - '{project-name}-rtd-jobs':
+          gerrit_trigger_file_paths:
+            - compare-type: REG_EXP
+              pattern: '.*\.css'
+            - compare-type: REG_EXP
+              pattern: '.*\.html'
+            - compare-type: REG_EXP
+              pattern: '.*\.rst'
+            - compare-type: REG_EXP
+              pattern: '.*\/conf.py'
+            - compare-type: REG_EXP
+              pattern: 'releasenotes/.*'
       - gerrit-tox-verify
 
     project-name: lf-infra-global-jjb
     git-url: https://gerrit.linuxfoundation.org/infra/$GERRIT_PROJECT
     gerrit-server-name: lf-releng
 
-    gerrit_trigger_file_paths:
-      - compare-type: REG_EXP
-        pattern: '.*\.css'
-      - compare-type: REG_EXP
-        pattern: '.*\.html'
-      - compare-type: REG_EXP
-        pattern: '.*\.rst'
-      - compare-type: REG_EXP
-        pattern: '.*\/conf.py'
-      - compare-type: REG_EXP
-        pattern: 'releasenotes/.*'
-
 - project:
     name: lf-infra-lftools
     jobs: