Skip to content

Conversation

@Dohbedoh
Copy link
Contributor

@Dohbedoh Dohbedoh commented Mar 25, 2025

Description

In case a single repository processing fails during the Organizsation scan, the entire scan would be interrupted. Propose to handle the exception to no report the error and not break the loop.
See JENKINS-75471 for further information.

Submitter checklist

  • Link to JIRA ticket in description, if appropriate.
  • Change is code complete and matches issue description
  • Automated tests have been added to exercise the changes
  • Reviewer's manual test instructions provided in PR description. See Reviewer's first task below.

Reviewer checklist

  • Run the changes and verify that the change matches the issue description
  • Reviewed the code
  • Verified that the appropriate tests have been written or valid explanation given

Documentation changes

  • Link to jenkins.io PR, or an explanation for why no doc changes are needed

Users/aliases to notify

@Dohbedoh Dohbedoh requested a review from a team as a code owner March 25, 2025 04:59
@Dohbedoh
Copy link
Contributor Author

First commit reproduce the error in unit test.
Second commit (coming soon) is the fix.

&& repo.getSource() != null) {
witness.record(repo.getName(), false);
try {
if (repo.isArchived() && gitHubSCMNavigatorContext.isExcludeArchivedRepositories()) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(ignore WS)

@jglick jglick added the bug label Mar 27, 2025
@jglick jglick merged commit 9152b2f into jenkinsci:master Mar 27, 2025
17 checks passed
@Dohbedoh Dohbedoh deleted the JENKINS-75471 branch March 27, 2025 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants