jenkinsci / jenkinsci/gitlab-branch-source-plugin

Implement configuration to ignore archived GitLab repositories

Open
#417 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
134
Forks
113
PR merge metrics
No merged PRs in 30d

Description

### What feature do you want to see added?

In GitLab, you can [archive a repository](https://docs.gitlab.com/ee/user/project/working_with_projects.html).

Per the docs, they are:
* Labeled with an archived badge on the project page.
* Listed on the group page in the Inactive tab.
* Hidden from project lists in Your Work and Explore.
* Read-only.

In `GitLab Branch Source` `v1.5.4`, when clicking `Scan GitLab Project Now`, the plugin loads `Jenkinsfile`-based pipelines from archived repositories.

I think it is a fair _default_ assumption that users would not want to see archived GitLab repositories in Jenkins.

I would love to have an option to ignore archived repositories during that scan, even if they contain `Jenkinsfile`s.

### Upstream changes

_No response_

### Are you interested in contributing this feature?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.