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

Add option to suppress triggering a Jenkins notification when repo update is automated #134

Closed
James-Newman opened this issue May 3, 2018 · 2 comments

Comments

@James-Newman
Copy link

If, as part of a jenkins job, the repository is updated by jenkins, then this will trigger another job. This has the potential to get stuck into an infinite loop of triggering, running, updating, triggering etc.

A use case for such automatic updating might be updating version numbers automatically for each build.

Similar plugins will suppress triggers when the committer name or message match a pattern or regex.

@a-hacker
Copy link
Member

a-hacker commented May 3, 2018

Hi @James-Newman. Adding a user whitelist and/or blacklist feature sounds like a good idea. We do currently have the ability to filter based on what files or directories are changed, filter which branches are changed, and what events trigger a build. I think those are sufficient enough to make this a low priority item. However, if you would like work on this I just started a Gitter chat here: https://gitter.im/parameterized-builds/Lobby where we can discuss what needs to be done.

@greenstevester, if you are still interested in contributing, this may be a good issue to get started on. At the very least, you should join the Gitter linked above and we can figure something out!

a-hacker pushed a commit that referenced this issue Jan 6, 2020
* Changes to add Ignore Committers, Ignore Commits With String features #134

* changes for PR comments,
Modified ignoreCommitMsg to support regex
ignoreCommitters modified to have line separator

* test cases added for ignoreCommitters and ignoreCommitMessage cases
@a-hacker
Copy link
Member

Filters to prevent builds based on user or commit message added in 4.0.10. Thanks @rgaduput!

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

No branches or pull requests

2 participants