I found that during indexing of a large organization folder, clicking the stop button does not abort the indexing.

      if (Thread.interrupted()) {
          throw new InterruptedException();
      }
      

      needs to be inserted within loops. GitHubSCMNavigator.add is already doing this, so we need to determine why it is not working. Is something else clearing the interrupt status?

      Would also be good to add a check to GitHubSCMSource.doRetrieve(SCMHeadObserver, ...), but much less important.

          [JENKINS-35111] Failure to respond to interruption of indexing

          See https://github.com/jenkinsci/github-branch-source-plugin/blob/5cf69cafee239d6fb946601b97452a1c9ab00cf4/src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java#L503

          Please verify if this issue is an issue with GitHub Branch Source 2.0.0-beta-1 (available from the experimental update center now or 2.0.0 (available in early January 2017)

          Stephen Connolly added a comment - See https://github.com/jenkinsci/github-branch-source-plugin/blob/5cf69cafee239d6fb946601b97452a1c9ab00cf4/src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java#L503 Please verify if this issue is an issue with GitHub Branch Source 2.0.0-beta-1 (available from the experimental update center now or 2.0.0 (available in early January 2017)

            Unassigned Unassigned
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: