Joey Armstrong | c9614ce | 2023-01-25 16:21:27 -0500 | [diff] [blame] | 1 | Jenkins job views: VOLTHA-LTS |
| 2 | ============================= |
| 3 | |
| 4 | Intent |
| 5 | ------ |
| 6 | |
| 7 | With each new VOLTHA LTS release (v2.11, v2.8) a jenkins view will need |
| 8 | to be created to allow running regression tests. This page will document |
| 9 | those instructions. |
| 10 | |
| 11 | LTS Folder |
| 12 | ---------- |
| 13 | Visit `jenkins::Dashboard <https://jenkins.opencord.org>`_ and create a |
| 14 | VOLTHA-LTS folder if one does not exist. |
| 15 | |
| 16 | - Click ``New Item`` in the left margin. |
| 17 | - For ``item name`` type in VOLTHA-LTS |
| 18 | - Click Folder or Copy from an existing folder. |
| 19 | - Uncheck "Add to current view" |
| 20 | - Click the OK button |
| 21 | |
| 22 | Jenkins job view: global |
| 23 | ------------------------ |
| 24 | |
| 25 | Two view creation options are available |
| 26 | |
| 27 | - global - all jobs are selectable |
| 28 | - local - simple list creation |
| 29 | |
| 30 | Global job view creation |
| 31 | ------------------------ |
| 32 | |
Joey Armstrong | 2ce92d0 | 2023-06-03 18:54:56 -0400 | [diff] [blame] | 33 | This option will add a named view in the `jenkins::Dashboard soup <https://jenkins.opencord.org/>`__ at the top. |
| 34 | |
Joey Armstrong | c9614ce | 2023-01-25 16:21:27 -0500 | [diff] [blame] | 35 | - Visit `jenkins::Dashboard <https://jenkins.opencord.org>`_ |
| 36 | - Click "New View" in the left margin. |
Joey Armstrong | 2ce92d0 | 2023-06-03 18:54:56 -0400 | [diff] [blame] | 37 | - Name view for the current release voltha-2.12 |
Joey Armstrong | c9614ce | 2023-01-25 16:21:27 -0500 | [diff] [blame] | 38 | - Select type "List View" |
Joey Armstrong | 2ce92d0 | 2023-06-03 18:54:56 -0400 | [diff] [blame] | 39 | - Click the "create" button |
Joey Armstrong | c9614ce | 2023-01-25 16:21:27 -0500 | [diff] [blame] | 40 | - Accept basic values to begin configuring |
| 41 | - Add an appropraite job Description. |
| 42 | - Scroll down to "Job Filters" |
| 43 | |
Joey Armstrong | 2ce92d0 | 2023-06-03 18:54:56 -0400 | [diff] [blame] | 44 | - Selelect individual jobs to hardcode an explicit list. |
| 45 | - Select "Use a regular expression to pattern match", value: .*voltha-2.12.* |
Joey Armstrong | c9614ce | 2023-01-25 16:21:27 -0500 | [diff] [blame] | 46 | |
Joey Armstrong | 2ce92d0 | 2023-06-03 18:54:56 -0400 | [diff] [blame] | 47 | - Removing voltha-2.8 view deleted the "Coverage" and "Favorite" columns. |
| 48 | - The voltha-2.12 view is complete for now. |
| 49 | - Click the [ok] button |
Joey Armstrong | c9614ce | 2023-01-25 16:21:27 -0500 | [diff] [blame] | 50 | |
Joey Armstrong | 2ce92d0 | 2023-06-03 18:54:56 -0400 | [diff] [blame] | 51 | Add new release job view in the LTS folder |
| 52 | ------------------------------------------ |
Joey Armstrong | c9614ce | 2023-01-25 16:21:27 -0500 | [diff] [blame] | 53 | |
| 54 | - Visit `jenkins::Dashboard <https://jenkins.opencord.org>`_ |
Joey Armstrong | 2ce92d0 | 2023-06-03 18:54:56 -0400 | [diff] [blame] | 55 | - Click the `VOLTHA-LTS folder <https://jenkins.opencord.org/job/VOLTHA-LTS/>`_ in the center panel beneath job view soup at the top. |
Joey Armstrong | c9614ce | 2023-01-25 16:21:27 -0500 | [diff] [blame] | 56 | - Click "New View" in the left margin. |
Joey Armstrong | 2ce92d0 | 2023-06-03 18:54:56 -0400 | [diff] [blame] | 57 | - Add view name: VOLTHA-2.12 |
Joey Armstrong | c9614ce | 2023-01-25 16:21:27 -0500 | [diff] [blame] | 58 | - Select "Include a global view" |
| 59 | - Click the "create" button |
| 60 | - Type in an appropraite Description. |
Joey Armstrong | 2ce92d0 | 2023-06-03 18:54:56 -0400 | [diff] [blame] | 61 | - View name should contain the global view name VOLTHA-2.12 created earlier |
Joey Armstrong | c9614ce | 2023-01-25 16:21:27 -0500 | [diff] [blame] | 62 | - Click "OK" |
| 63 | |
| 64 | Access LTS jobs |
| 65 | --------------- |
| 66 | - Visit the `VOLTHA-LTS job folder <https://jenkins.opencord.org/job/VOLTHA-LTS/>`__ |
Joey Armstrong | 2ce92d0 | 2023-06-03 18:54:56 -0400 | [diff] [blame] | 67 | - Select or bookmark job view `VOLTHA-2.12 <https://jenkins.opencord.org/job/VOLTHA-LTS/view/voltha-2.12/>`_ |