Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ability to hide\show builds running by specific users or by timer #128

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

olegkotovich
Copy link

We have dedicated Jenkins server that runs build and executes tests on different configurations. Each configuration is Jenkins job. Besides that, quite often members of our team run these jobs (with parameters different from Nightly build) manually for own purposes. At the same time we are willing to see on the monitor only builds are being run in Nightly build, so I implemented additional functionality for filtration by users, builds running by timer and anonymous users.

capture

How we achieve our goals with my solution (Look at the screenshot)? We show builds running only by timer and by one special user that is used if we want to make build "green" and display it on the monitor.

I suppose this can be helpful for others.

Thanks.

@Brantone
Copy link

Curious : what are the main advantages of this over https://wiki.jenkins-ci.org/display/JENKINS/View+Job+Filters ??

@olegkotovich
Copy link
Author

As far as I understand View Job Filters plugin works with jobs and using this plugin I can filter namely jobs (not builds of the jobs). However my solution works with builds (runs). For example, we run some tests every night on different configurations (different OS) and I ALWAYS want to see all these jobs on the monitor, at the same time other employees can run these jobs manually for own purposes on the same Jenkins, but I don’t want to see statuses of their builds on the monitor, I want to see only statuses of BUILDS (not jobs) which were executed during previous Nightly build. Finally, the main advantages is that my solution works with the builds, rather than jobs.

From: Brenton B [mailto:[email protected]]
Sent: Monday, March 16, 2015 10:32 PM
To: jan-molak/jenkins-build-monitor-plugin
Cc: Oleg Kotovich
Subject: Re: [jenkins-build-monitor-plugin] Added ability to hide\show builds running by specific users or by timer (#128)

Curious : what are the main advantages of this over https://wiki.jenkins-ci.org/display/JENKINS/View+Job+Filters ??


Reply to this email directly or view it on GitHubhttps://github.com//pull/128#issuecomment-81888173.

@balsu
Copy link

balsu commented Jun 20, 2015

Nice , exactly what i was looking for, good to have this merged in the main release

@@ -11,6 +11,15 @@
<f:option value="2" selected="${it.statusFilter==false}">${%Disabled jobs only}</f:option>
</select>
</f:entry>
<f:entry title="${%Show builds are being run by timer}">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really need to put a stronger warning into this file. Please move BM-specifics to the bottom of the file. One day we'll have to cut'n'paste to main body again from an updated Jenkins baseline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants