[Feature][Jenkins Connection] Introduce filtering of branch builds
Search before asking
- [x] I had searched in the issues and found no similar feature requirement.
Use case
As a user of Apache Devlake I want the ability to only show deployment pipelines from Jenkins that I actually care about and that are relevant to me and my organisation.
Description
The current Jenkins collector appears to fetch all pipelines - even if they are temporary branch/PR builds. Devlake should have the option to filter the collection results (or only collect certain results based on a regex). As an example there is a Jenkins collector configured in this project where only the following data scopes are selected:
However when viewing/searching for the project in Grafana it shows on the available dropdown of a bunch of random PR branches that are not selected.
I assume this has an additional underlying impact about redundant pipelines/scopes
Related issues
No response
Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
I have implemented this function. I wonder if it meets your expectations
Hi, @OG256 Can you take a look at the PR and provide your insight? Thanks.
This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.
This issue has been closed because it has been inactive for a long time. You can reopen it if you encounter the similar problem in the future.