Skip to content

[Feature][Jenkins Connection] Introduce filtering of branch builds #8579

@OG256

Description

@OG256

Search before asking

  • 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:

Image

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.

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/pluginsThis issue or PR relates to pluginstype/feature-requestThis issue is a proposal for something new

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions