25 Commits

Author SHA1 Message Date
Anil Belur
9a1b25b0b5
Add support for policy-violations for view columns
Change-Id: I61a08cc4586119466b04f86497c330873e5d582d
Signed-off-by: Anil Belur <askb23@gmail.com>
2018-05-23 14:59:45 +10:00
Anil Belur
1aa3f9895c Add support for unclassified job filters
Add support for unclassified job filters for views.

Change-Id: I64f0464857b4925cd5b5b9714b8ba1bb1f860244
Signed-off-by: Anil Belur <askb23@gmail.com>
2018-04-19 09:37:35 +01:00
Anil Belur
ac345d0e66 Add support for upstream downstream job filter
Add support for upstream downstream job filter for views.

Change-Id: I8869f804a6f85f8bee7720d785f03492c87ff959
Signed-off-by: Anil Belur <askb23@gmail.com>
2018-04-19 09:37:35 +01:00
Anil Belur
8811c514bd Add support for user permissions job filter
Add support for user permissions job filter for views.

Change-Id: Ib956fa9387dc86fd8a2d297c443342b5548a9937
Signed-off-by: Anil Belur <askb23@gmail.com>
2018-04-19 09:37:35 +01:00
Anil Belur
f4b66dc531 Add support for secured jobs filter
Add support for secured jobs filter for views.

Change-Id: I8b64d80eb0a6131c188710874c5406a1013e44e6
Signed-off-by: Anil Belur <askb23@gmail.com>
2018-04-18 23:32:25 +01:00
Anil Belur
bd07732cc7 Add support for scmtype job filters
Add support for scmtype job filters for views.

Change-Id: Ie63f36ff61258c0a467eab8dbae93b4d5ef60837
Signed-off-by: Anil Belur <askb23@gmail.com>
2018-04-18 23:32:25 +01:00
Anil Belur
940466d7e0 Add support for other views job filter
Add support for other views job filter for views.

Change-Id: I80a8e82f8396df1dab2799781555c4a61942f34e
Signed-off-by: Anil Belur <askb23@gmail.com>
2018-04-18 23:32:25 +01:00
Anil Belur
d9f88828ad Add support for parameter job filter
Add support for parameter job filter for views.

Change-Id: I55cbfe318a99a8a2bcf9ac2abae5d230272da024
Signed-off-by: Anil Belur <askb23@gmail.com>
2018-04-18 23:32:25 +01:00
Anil Belur
e585287380 Add support for job type filter
Add support for job type filter for views.

Change-Id: I6bf6af70310d4a0e590187fca3e6db6a52c4ec33
Signed-off-by: Anil Belur <askb23@gmail.com>
2018-04-18 23:32:25 +01:00
Anil Belur
0361d56fdf Add support for regex job filters
Add support for regex job filters for views.

Change-Id: Ic442aaf7f374800f1cd4d0d8a1229ee1e0557891
Signed-off-by: Anil Belur <askb23@gmail.com>
2018-04-18 23:32:25 +01:00
Anil Belur
565c5a1241 Add support for user relevance job filter
Add support for user relevance job filter for views.

Change-Id: If20378e886c50f799f91e44d02d7d4e2edc9401c
Signed-off-by: Anil Belur <askb23@gmail.com>
2018-04-17 19:21:10 +10:00
Anil Belur
84940bb38d Add support for build status Job Filter plugin
Add support for build status job filter plugin for views.

Change-Id: I1e9142e6eb7232341fc97545fe6a48fa0a94d46a
Signed-off-by: Anil Belur <askb23@gmail.com>
2018-04-17 19:21:10 +10:00
Anil Belur
55da305df0 Add support for fallback Job Filters
Add support for fallback Job Filters for views.

Change-Id: I06290c74df62e68fe78f07fc8d77236c206cf5ad
Signed-off-by: Anil Belur <askb23@gmail.com>
2018-04-17 19:21:10 +10:00
Andrew Mellen
f95db7c756 Sort views list jobs
Change-Id: I27613393fd423fb514e9adfa44db7f12c5249b52
2018-04-12 11:38:30 -04:00
Anil Belur
00f64f2e20
Add support for job status job filter
Add support for job status job filter for views.

Change-Id: Iaeace8d2f4a150ab2497f25371f18b9b62617713
Signed-off-by: Anil Belur <askb23@gmail.com>
2018-03-02 12:45:41 +10:00
Anil Belur
c6df0adc44
Add support for build trend Job Filter plugin
Add support for build trend job filter plugin for views.

Change-Id: I157ae898383d40dab542feb7b0e752b51151f4d1
Signed-off-by: Anil Belur <askb23@gmail.com>
2018-02-27 19:47:21 +10:00
Anil Belur
726e50aa22 Add support for build duration Job Filter plugin
Add support for build duration job filter plugin for views.

Change-Id: Ib19775e02f3f7359e69c82b986bc4f89aa51e9df
Signed-off-by: Anil Belur <askb23@gmail.com>
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
2018-02-23 17:49:40 +00:00
Zuul
bc80e5e2f3 Merge "Add support for plugin column views" 2018-02-23 16:43:12 +00:00
Anil Belur
22420e2860 Add support for plugin column views
Add support plugin column views. The default columns are
added which dont require additional plugin installed.

For columns which require plugin support they are
added only if the column is provided as in input.

Add support for the below plugins for view columns:

- Robot
- Findbugs
- JaCoCo
- Git
- ScheduleBuild
- BuildFilter

Also added a column for the description which does not require
additional plugin support.

Change-Id: I5d756e5741b0aa1ca58bcc69b79e8e3436e9759d
Signed-off-by: Anil Belur <askb23@gmail.com>
2018-02-10 07:19:56 +00:00
Anil Belur
c7945da64b Add support for most recent job filters
Pushing job filters is not supported with JJB 2.0.
The change implements the ability to update most recent job filter
to views.

Change-Id: I23d09dfb26539c2b00f565729f706cbc75212987
Signed-off-by: Anil Belur <askb23@gmail.com>
2018-02-10 07:18:00 +00:00
Zuul
8af107a957 Merge "Update class Pipeline to use convert_mapping_to_xml()" 2017-10-23 17:44:17 +00:00
Daniel Watkins
83592a094b Add default columns to list views
This uses the default "All" view columns as the columns for any views
without a columns attribute sets.  This means that view definitions
which don't define any columns will still end up producing a useful
view.

(Note that the "All" columns are not fetched from the Jenkins instance;
the columns that are the default in a fresh Jenkins install are
hard-coded.)

Change-Id: I0a21e024be383088c6238c3fc7beb708af8c2c46
2017-10-06 14:22:59 -04:00
Yolande Amate
1b9045a1d8 Update class Pipeline to use convert_mapping_to_xml()
Change-Id: I37b3deb9a0db2eea3c24dc16409cd730887f7bf1
2017-08-11 20:17:01 +01:00
Yolande Amate
a558b12dbf Update class List to use convert_to_xml()
Change-Id: I6ef0dc66245a3f2fc1e09ee09506f34fca78eb60
2017-07-22 17:18:42 +01:00
Thanh Ha
1deb3aff4c
Add view management functionality
- Adds the ability for JJB to work with views
- Views can be created, updated, and deleted.
- New modules for List view and Build Pipeline view are added
- New tests for testing the deletion of views

Example View configuration:

    - view:
        name: MyView
        view-type: list

Change-Id: Idb29a4407bcc14593e10a4d951036cb04e8e6c27
Co-Authored-By: Brandon Leonard <brandon.leonard@rackspace.com>
Co-Authored-By: Joao Vale <jpvale@gmail.com>
Co-Authored-By: Lucas Dutra Nunes <ldnunes@ossystems.com.br>
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2016-10-14 09:14:21 -04:00