Add domino project 17/16017/4
authorUlas Kozat <ulas.kozat@gmail.com>
Mon, 27 Jun 2016 18:54:01 +0000 (11:54 -0700)
committerUlas Kozat <ulas.kozat@gmail.com>
Thu, 30 Jun 2016 23:17:29 +0000 (16:17 -0700)
Change-Id: Ie733a929e11c3a9a8390495008bdd0a22cfec5d8
Signed-off-by: Ulas Kozat <ulas.kozat@gmail.com>
jjb/domino/domino.yml [new file with mode: 0644]

diff --git a/jjb/domino/domino.yml b/jjb/domino/domino.yml
new file mode 100644 (file)
index 0000000..29e171b
--- /dev/null
@@ -0,0 +1,55 @@
+- project:
+    name: domino
+
+    project: '{name}'
+
+    jobs:
+        - 'domino-verify-{stream}'
+
+    stream:
+        - master:
+            branch: '{stream}'
+            gs-pathname: ''
+
+- job-template:
+    name: 'domino-verify-{stream}'
+
+    parameters:
+        - project-parameter:
+            project: '{project}'
+        - gerrit-parameter:
+            branch: '{branch}'
+        - 'opnfv-build-ubuntu-defaults'
+
+    scm:
+        - gerrit-trigger-scm:
+            credentials-id: '{ssh-credentials}'
+            refspec: '$GERRIT_REFSPEC'
+            choosing-strategy: 'gerrit'
+
+    triggers:
+        - gerrit:
+            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}'
+                forbidden-file-paths:
+                  - compare-type: ANT
+                    pattern: 'docs/**|.gitignore'
+
+    builders:
+        - shell: |
+            #!/bin/bash
+            ./tests/run.sh