Initial Auto Project Jobs 29/40629/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Tue, 29 Aug 2017 23:21:53 +0000 (16:21 -0700)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Tue, 29 Aug 2017 23:21:53 +0000 (16:21 -0700)
Create a noop job for the Auto project so they can begin submitting
changes.

Change-Id: If7c80c283a07d3d8e008f566bff8bfe473a93aed
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
jjb/auto/auto.yml [new file with mode: 0644]

diff --git a/jjb/auto/auto.yml b/jjb/auto/auto.yml
new file mode 100644 (file)
index 0000000..fefa376
--- /dev/null
@@ -0,0 +1,56 @@
+---
+- project:
+    name: auto
+
+    project: '{name}'
+
+    stream:
+      - master:
+          branch: '{stream}'
+          gs-pathname: ''
+          disabled: false
+
+    jobs:
+      - 'auto-verify-{stream}'
+
+- job-template:
+    name: 'auto-verify-{stream}'
+
+    disabled: '{obj:disabled}'
+
+    parameters:
+      - project-parameter:
+          project: '{project}'
+          branch: '{branch}'
+      - 'opnfv-build-defaults'
+
+    scm:
+      - git-scm-gerrit
+
+    triggers:
+      - gerrit:
+          server-name: 'gerrit.opnfv.org'
+          trigger-on:
+            - patchset-created-event:
+                exclude-drafts: 'false'
+                exclude-trivial-rebase: 'false'
+                exclude-no-code-change: 'false'
+            - draft-published-event
+            - comment-added-contains-event:
+                comment-contains-value: 'recheck'
+            - comment-added-contains-event:
+                comment-contains-value: 'reverify'
+          projects:
+            - project-compare-type: 'ANT'
+              project-pattern: '{project}'
+              branches:
+                - branch-compare-type: 'ANT'
+                  branch-pattern: '**/{branch}'
+              disable-strict-forbidden-file-verification: 'true'
+              forbidden-file-paths:
+                - compare-type: ANT
+                  pattern: 'docs/**|.gitignore'
+
+    builders:
+      - shell: |
+          echo "Nothing to verify!"