Merge "Add override for GT file-paths in Python jobs"
[releng/global-jjb.git] / jjb / lf-python-jobs.yaml
index fecaeff..0029f3e 100644 (file)
     gerrit_clm_triggers:
       - comment-added-contains-event:
           comment-contains-value: run-clm$
+    gerrit_trigger_file_paths:
+      - compare-type: ANT
+        pattern: '**'
 
     #####################
     # Job Configuration #
               branches:
                 - branch-compare-type: ANT
                   branch-pattern: '**/{branch}'
+              file-paths: '{obj:gerrit_trigger_file_paths}'
           skip-vote:
             successful: true
             failed: true
     gerrit_sonar_triggers:
       - comment-added-contains-event:
           comment-contains-value: run-sonar$
+    gerrit_trigger_file_paths:
+      - compare-type: ANT
+        pattern: '**'
 
     #####################
     # Job Configuration #
               branches:
                 - branch-compare-type: 'ANT'
                   branch-pattern: '**/master'
+              file-paths: '{obj:gerrit_trigger_file_paths}'
           skip-vote:
             successful: true
             failed: true
       - draft-published-event
       - comment-added-contains-event:
           comment-contains-value: recheck$
+    gerrit_trigger_file_paths:
+      - compare-type: ANT
+        pattern: '**'
+
+    parallel: true
 
     #####################
     # Job Configuration #
           submodule-recursive: '{submodule-recursive}'
           choosing-strategy: gerrit
 
+    parameters:
+      - bool:
+          name: PARALLEL
+          default: '{parallel}'
+          description: Tox test type used to configure serial or parallel testing.
+
+
     triggers:
       - gerrit:
           server-name: '{gerrit-server-name}'
               branches:
                 - branch-compare-type: ANT
                   branch-pattern: '**/{branch}'
+              file-paths: '{obj:gerrit_trigger_file_paths}'
 
 - job-template:
     # Python projects typically use tox to run testing.