Trigger node image building when there is a change in github repo
[infra/cicd.git] / jjb / airship / job_openstack_node_image_building.yml
index 8e257ee83acabe8c38ea16f627b7f7db75a491ec..1f1d23ac68ba48832368d9923ad2eec45d9de852 100644 (file)
@@ -47,6 +47,7 @@
 
     triggers:
       - timed: "0 5 */15 * *"
+      - github
 
     pipeline-scm:
       scm:
@@ -60,5 +61,8 @@
           wipe-workspace: True
           honor-refspec: True
           shallow-clone: False
+          included-regions:
+              - "ci/images/.*"
+              - "ci/scripts/image_scripts/.*"
       script-path: 'ci/jobs/{id}.pipeline'
       lightweight-checkout: False