Initial add of VES job file 43/28643/2
authorAimee Ukasick <aimeeu.opensource@gmail.com>
Tue, 14 Feb 2017 16:41:14 +0000 (10:41 -0600)
committerAimee Ukasick <aimeeu.opensource@gmail.com>
Tue, 14 Feb 2017 20:41:57 +0000 (14:41 -0600)
JIRA: VES-10

Created ves.yml based on copper.yml.
Added shellcheck.

Change-Id: I15541416b7678e2ddab2bd3afabb36fb21afb497
Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
jjb/ves/ves.yml [new file with mode: 0644]

diff --git a/jjb/ves/ves.yml b/jjb/ves/ves.yml
new file mode 100644 (file)
index 0000000..5f0da33
--- /dev/null
@@ -0,0 +1,68 @@
+###################################################
+# All the jobs except verify have been removed!
+# They will only be enabled on request by projects!
+###################################################
+- project:
+    name: ves
+
+    project: '{name}'
+
+    jobs:
+        - 'ves-verify-{stream}'
+
+    stream:
+        - master:
+            branch: '{stream}'
+            gs-pathname: ''
+            disabled: false
+        - danube:
+            branch: 'stable/{stream}'
+            gs-pathname: '/{stream}'
+            disabled: false
+
+- job-template:
+    name: 'ves-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}'
+                forbidden-file-paths:
+                  - compare-type: ANT
+                    pattern: 'docs/**|.gitignore'
+
+    builders:
+        - shell: |
+            #!/bin/bash
+            set -o errexit
+            set -o nounset
+            set -o pipefail
+
+            shellcheck -f tty tests/*.sh
+            shellcheck -f tty utils/*.sh