add jenkins for stor4nfv 23/41923/1
authorGuo Ruijing <ruijing.guo@intel.com>
Thu, 14 Sep 2017 15:57:20 +0000 (23:57 +0800)
committerGuo Ruijing <ruijing.guo@intel.com>
Thu, 14 Sep 2017 15:57:55 +0000 (23:57 +0800)
Change-Id: I2abd2d200840a16139befe1bb734b94e175123d9
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
jjb/stor4nfv/stor4nfv-project.yml [new file with mode: 0644]

diff --git a/jjb/stor4nfv/stor4nfv-project.yml b/jjb/stor4nfv/stor4nfv-project.yml
new file mode 100644 (file)
index 0000000..5885c46
--- /dev/null
@@ -0,0 +1,64 @@
+---
+###################################################
+# All the jobs except verify have been removed!
+# They will only be enabled on request by projects!
+###################################################
+- project:
+    name: stor4nfv
+
+    project: '{name}'
+
+    jobs:
+      - 'stor4nfv-verify-{stream}'
+
+    stream:
+      - master:
+          branch: '{stream}'
+          gs-pathname: ''
+          disabled: false
+      - danube:
+          branch: 'stable/{stream}'
+          gs-pathname: '/{stream}'
+          disabled: false
+
+- job-template:
+    name: 'stor4nfv-verify-{stream}'
+
+    disabled: '{obj:disabled}'
+
+    parameters:
+      - project-parameter:
+          project: '{project}'
+          branch: '{branch}'
+      - 'opnfv-build-ubuntu-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!"