From 40f4d8f04b51c4fc19db239342c52674a916dc93 Mon Sep 17 00:00:00 2001 From: Andrew Grimberg Date: Fri, 22 Jun 2018 15:40:12 -0700 Subject: [PATCH] Setup global-jjb and ci-jobs Change-Id: I7da9f2aef1de0e403aea27c054371ebb0986b98a Signed-off-by: Andrew Grimberg --- jjb/ci-management/ci-jobs.yaml | 13 +++++++++++++ jjb/common-views.yaml | 30 ++++++++++++++++++++++++++++++ jjb/defaults.yaml | 8 ++++++++ jjb/view-templates.yaml | 20 ++++++++++++++++++++ 4 files changed, 71 insertions(+) create mode 100644 jjb/ci-management/ci-jobs.yaml create mode 100644 jjb/common-views.yaml create mode 100644 jjb/defaults.yaml create mode 100644 jjb/view-templates.yaml diff --git a/jjb/ci-management/ci-jobs.yaml b/jjb/ci-management/ci-jobs.yaml new file mode 100644 index 0000000..33ccd86 --- /dev/null +++ b/jjb/ci-management/ci-jobs.yaml @@ -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 index 0000000..c3b0e4b --- /dev/null +++ b/jjb/common-views.yaml @@ -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 index 0000000..6dbb9f9 --- /dev/null +++ b/jjb/defaults.yaml @@ -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 index 0000000..bf0fded --- /dev/null +++ b/jjb/view-templates.yaml @@ -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}-.*' -- 2.16.6