- job:
    name: config
    builders:
      - gerrit-git-prep
      - shell: |
          mkdir build
          jenkins-jobs test jobs/ -o build/
          jenkins-jobs update --delete-old jobs/
    triggers:
      - gerrit:
          trigger-on-change-merged-event: true
          projects:
            - project-compare-type: 'PLAIN'
              project-pattern: 'config'
              branch-compare-type: 'ANT'
              branch-pattern: '**'

- job:
    name: config-update
    builders:
      - gerrit-git-prep
      - shell: |
          mkdir build
          jenkins-jobs test jobs/ -o build/
          jenkins-jobs update --delete-old jobs/
    triggers:
      - gerrit:
          trigger-on-change-merged-event: true
          projects:
            - project-compare-type: 'PLAIN'
              project-pattern: 'config'
              branch-compare-type: 'ANT'
              branch-pattern: '**'

- job:
    name: config-check
    builders:
      - gerrit-git-prep
      - shell: |
          mkdir build
          jenkins-jobs test jobs/ -o build/
    triggers:
      - gerrit:
          trigger-on-change-created-event: true
          projects:
            - project-compare-type: 'PLAIN'
              project-pattern: 'config'
              branch-compare-type: 'ANT'
              branch-pattern: '**'

Add a 'gate' for config repository
Add a 'gate' for config repository

Change-Id: I115f575d9f896fa1b5f3caa29a4674fb88dccceb
