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

Archived projects are still visible in Jenkins #118

Closed
jensenbox opened this issue Feb 17, 2021 · 6 comments · Fixed by #168
Closed

Archived projects are still visible in Jenkins #118

jensenbox opened this issue Feb 17, 2021 · 6 comments · Fixed by #168

Comments

@jensenbox
Copy link

Hi there!

Thanks for the awesome plugin! We have archived a few projects in GitLab but they are still showing up as valid projects in Jenkins.

I think what is needed is a call to https://javadoc.io/static/org.gitlab4j/gitlab4j-api/4.12.17/org/gitlab4j/api/models/GroupProjectsFilter.html#withArchived-java.lang.Boolean- but I am unclear if that would need to be brought to the surface as an option in the configuration.

What can I do to assist with this or is there a different route (or something I am missing here)?

@Mazorius
Copy link

Hi,

we have the same problem.
It would be nice if there is a trait so that a job can choose if it scans archived projects.
Otherwise archived projects should not be scanned.

Thanks in advance!

@DJViking
Copy link

Yes, this plugin should not add projects that are archived.
Also when a project is then archived, the plugin should on the next scheduled scan remove all archived projects.

@needleshaped
Copy link

needleshaped commented Jun 1, 2021

Linking JIRA issue on the same topic: https://issues.jenkins.io/browse/JENKINS-63610 (unfortunately, no activity)

P.S. Also, same issue fixed in GitHub plugin, see pull request: jenkinsci/github-branch-source-plugin#274

Raytion pushed a commit to Raytion/gitlab-branch-source-plugin that referenced this issue Nov 9, 2021
Raytion pushed a commit to Raytion/gitlab-branch-source-plugin that referenced this issue Nov 9, 2021
@Raytion Raytion mentioned this issue Nov 9, 2021
6 tasks
@DJViking
Copy link

DJViking commented Feb 8, 2022

I am glad to see there is a pull request to fix this.
I hope it can be merge soon.

@jetersen
Copy link
Member

fixed by #168

currently preparing a release.

@jetersen
Copy link
Member

jetersen commented Apr 18, 2022

released in 621.vd49608f876da_

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

Successfully merging a pull request may close this issue.

5 participants