jenkinsci / gitlab-branch-source-plugin

A Jenkins Plugin for GitLab Multibranch Pipeline jobs and Folder Organization
https://plugins.jenkins.io/gitlab-branch-source
MIT License
119 stars 85 forks source link

fix null pointer exception #391

Closed rhit-gawronja closed 2 months ago

rhit-gawronja commented 4 months ago

fixes #264

Testing done

Completed reproduction steps before and after, passed automatic testing coverage. Where these fixes differ is when you have an archived project previously it would cause a NullPointerException in the scanning process. This issue has been remediated by skipping over null projects in the scanning. Issue link: https://github.com/jenkinsci/gitlab-branch-source-plugin/issues/264

### Submitter checklist
- [ x] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!
- [ x] Ensure that the pull request title represents the desired changelog entry
- [ x] Please describe what you did
- [ x] Link to relevant issues in GitHub or Jira
- [ x] Link to relevant pull requests, esp. upstream and downstream changes
- [ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue
rhit-gawronja commented 4 months ago

264 Small fix for this issue