Very cool. I also didn't realize we had control over the Jenkins "views".

We currently lack a decent dashboard to monitor the build health across
Beam jenkins jobs and triage failures; this is a step in the right
direction.

I haven't played with Jenkins views before, but it appears they can be
managed via the Job DSL similar to our job definitions [1]:

> The DSL execution engine exposes several methods to create Jenkins jobs,
views, folders and config files. [..]

It would be cool to integrate this into our job config in such a way that
we could automatically keep the views up-to-date as jobs are added or
renamed.

[1] https://github.com/jenkinsci/job-dsl-plugin/wiki/Job-DSL-Commands

On Tue, Dec 18, 2018 at 12:35 PM Anton Kedin <[email protected]> wrote:

> This is really helpful, didn't realize it was possible. Categories and
> contents look reasonable. I think something like this definitely should be
> the top-level Beam view.
>
> Regards,
> Anton
>
> On Tue, Dec 18, 2018 at 12:05 PM Kenneth Knowles <[email protected]> wrote:
>
>> Hi all,
>>
>> I made a new view to split Beam builds into tabs:
>> https://builds.apache.org/view/A-D/view/Beam%20Nested/
>>
>>  - PostCommit tab includes PostCommit and "PreCommit_.*_Cron" because
>> these are actually post-commit jobs; it is a feature not a bug.
>>  - PreCommit tab includes jobs that have no meaningful history because
>> they are just against PRs, commits, phrase triggering
>>  - Inventory self-explanatory
>>  - PerformanceTests self-explanatory
>>  - All; I didn't want to keep making categories but just send this for
>> feedback
>>
>> WDYT about making this the top-level Beam view? (vs
>> https://builds.apache.org/view/A-D/view/Beam/)
>>
>> After that, maybe we could clean the categories so they fit into the tabs
>> more easily with fewer regexes (to make sure things don't get missed). I
>> have read also that if you use / instead of _ as a separator in a name then
>> Jenkins will display jobs as nested in folders automatically. Not sure it
>> actually results in a better view; haven't tried it.
>>
>> Kenn
>>
>

-- 




Got feedback? tinyurl.com/swegner-feedback

Reply via email to