Setup global-jjb and ci-jobs 83/83/1
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Fri, 22 Jun 2018 22:40:12 +0000 (15:40 -0700)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Fri, 22 Jun 2018 22:40:12 +0000 (15:40 -0700)
Change-Id: I7da9f2aef1de0e403aea27c054371ebb0986b98a
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
jjb/ci-management/ci-jobs.yaml [new file with mode: 0644]
jjb/common-views.yaml [new file with mode: 0644]
jjb/defaults.yaml [new file with mode: 0644]
jjb/view-templates.yaml [new file with mode: 0644]

diff --git a/jjb/ci-management/ci-jobs.yaml b/jjb/ci-management/ci-jobs.yaml
new file mode 100644 (file)
index 0000000..33ccd86
--- /dev/null
@@ -0,0 +1,13 @@
+---
+- project:
+    name: ci-jobs
+
+    jobs:
+      - '{project-name}-ci-jobs'
+
+    project: ci-management
+    project-name: ci-management
+    build-node: centos7-builder-2c-1g
+
+    views:
+      - common-view
diff --git a/jjb/common-views.yaml b/jjb/common-views.yaml
new file mode 100644 (file)
index 0000000..c3b0e4b
--- /dev/null
@@ -0,0 +1,30 @@
+---
+- view:
+    name: '00-Empty View'
+    description: >
+      Empty job view. This is used as the default landing view to keep the
+      Jenkins UI responding better while a) under high load and b) when there
+      are a lot of jobs defined in the system'
+    view-type: list
+    filter-executors: false
+    filter-queue: false
+    recurse: false
+    regex: ''
+
+- view:
+    name: CLM
+    description: 'List of CLM jobs'
+    view-type: list
+    filter-executors: false
+    filter-queue: false
+    columns:
+      - status
+      - weather
+      - job
+      - last-success
+      - last-failure
+      - last-duration
+      - build-button
+      - policy-violations
+    recurse: false
+    regex: '.*-clm-.*'
diff --git a/jjb/defaults.yaml b/jjb/defaults.yaml
new file mode 100644 (file)
index 0000000..6dbb9f9
--- /dev/null
@@ -0,0 +1,8 @@
+---
+- defaults:
+    name: global
+
+    gerrit-server-name: Primary
+    git-url: 'ssh://akraino-jobbuilder@gerrit.akraino.org:29418'
+    jenkins-ssh-credential: jenkins-ssh
+    lftools-version: '<1.0.0'
diff --git a/jjb/view-templates.yaml b/jjb/view-templates.yaml
new file mode 100644 (file)
index 0000000..bf0fded
--- /dev/null
@@ -0,0 +1,20 @@
+---
+- view-template:
+    id: 'common-view'
+    name: '{project-name}'
+    view-type: list
+    filter-executors: false
+    filter-queue: false
+    columns:
+      - status
+      - weather
+      - job
+      - last-success
+      - last-failure
+      - last-duration
+      - build-button
+      - jacoco
+      - find-bugs
+      - robot-list
+    recurse: false
+    regex: '^{project-name}-.*'