jenkinsci / jenkinsci/gitlab-branch-source-plugin

[JENKINS-71747] exception while updating organizational folder of deleted gitlab repos

Open
#722 1 comment 0 reactions 0 assignees View on GitHub
component:gitlab-branch-source-plugin imported-jira-issue priority:blocker resolution:unresolved
Dominant language
Java
Stars
134
Forks
113
PR merge metrics
No merged PRs in 30d

Description

we have a gitlab group containing several repos, on our jenkins we define a gitlab organizatinal folder "looking" on that group.

when we add new repos containing Jenkinsfile, and scan the group - the repo appears in jenkins properly.

 

however, when we delete a repo which already appears in jenkins and rescan the group, the attached exception appears in the scan log. (see attached file, urls changed for security reasons).

we believe this behavior is a bug of a non-handled flow in the plugin.

---
Originally reported by amidar, imported from: exception while updating organizational folder of deleted gitlab repos


  • assignee: baymac
  • status: Open
  • priority: Blocker
  • component(s): gitlab-branch-source-plugin
  • resolution: Unresolved
  • votes: 2
  • watchers: 4
  • imported: 20251216-182730

Raw content of original issue

we have a gitlab group containing several repos, on our jenkins we define a gitlab organizatinal folder "looking" on that group.

when we add new repos containing Jenkinsfile, and scan the group - the repo appears in jenkins properly.

 

however, when we delete a repo which already appears in jenkins and rescan the group, the attached exception appears in the scan log. (see attached file, urls changed for security reasons).

we believe this behavior is a bug of a non-handled flow in the plugin.

environment

```
jenkins 2.401.3

gitlab branch source plugin 664.v877fdc293c89

gitlab enterprise edition 15.4.0-ee (self hosted)
```

2 attachments

- [exception while updating organizational folder of deleted gitlab repos.txt](https://issues.jenkins.io/secure/attachment/60929/exception%20while%20updating%20organizational%20folder%20of%20deleted%20gitlab%20repos.txt)
- [gitlab repo with no objects fails gitlab branch source scan.txt](https://issues.jenkins.io/secure/attachment/62329/gitlab%20repo%20with%20no%20objects%20fails%20gitlab%20branch%20source%20scan.txt)

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.