Skip to content

Conversation

@Raytion
Copy link
Contributor

@Raytion Raytion commented Nov 9, 2021

Following the example for the GitHub Plugin (linked in discussion) this PR adds the configuration option to exclude archived projects from the list of projects that are built by jenkins. Posthum archived projects are removed from the project list on the next scan.

fixes #118
https://issues.jenkins.io/browse/JENKINS-63610

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue
    -> There are no unit tests for GitLabSCMNavigator to begin with, to use as orientation. The fix was integration-tested on a local Jenkins instance.

@grazius
Copy link

grazius commented Dec 30, 2021

this pull request can be integrated in the next release ?
it's gone to be a real problem with a lot of projects that close or open on a private gitlab

@jetersen jetersen merged commit 5a95ad9 into jenkinsci:master Apr 15, 2022
@jetersen jetersen changed the title 118 exclude archived projects exclude archived projects Apr 18, 2022
@jetersen jetersen added the enhancement New feature or request label Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Archived projects are still visible in Jenkins

3 participants