[JIRA] (JENKINS-55151) GitHub Branch Source Plugin: Failed branch indexing
Title: Message Title Liam Newman commented on JENKINS-55151 Re: GitHub Branch Source Plugin: Failed branch indexing https://github.com/github-api/github-api/issues/626 Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.196218.1544623225000.7373.1574800140231%40Atlassian.JIRA.
[JIRA] (JENKINS-55151) GitHub Branch Source Plugin: Failed branch indexing
Title: Message Title Owen Mehegan commented on JENKINS-55151 Re: GitHub Branch Source Plugin: Failed branch indexing A customer encountered this issue yesterday. After examining the code (https://github.com/github-api/github-api/blob/github-api-1.95/src/main/java/org/kohsuke/github/GitHub.java#L475) it seems that we are trying to do some string parsing on a response from the GitHub API, and the response is not in the expected format, so the parsing fails ungracefully. In the case of my customer, it turned out that the credentials they were using did not have the appropriate access in GitHub to perform the required operation. They had to enable/authorize this credential/user for SSO in GitHub in order to resolve the issue. Perhaps the plugin could be improved with some exception handling here. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.196218.1544623225000.6620.1574727780232%40Atlassian.JIRA.
[JIRA] (JENKINS-55151) GitHub Branch Source Plugin: Failed branch indexing
Title: Message Title Owen Mehegan updated an issue Jenkins / JENKINS-55151 GitHub Branch Source Plugin: Failed branch indexing Change By: Owen Mehegan Component/s: github-api-plugin Component/s: github-branch-source-plugin Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.196218.1544623225000.5990.1574656560251%40Atlassian.JIRA.
[JIRA] (JENKINS-55151) GitHub Branch Source Plugin: Failed branch indexing
Title: Message Title Alexandr Semak updated an issue Jenkins / JENKINS-55151 GitHub Branch Source Plugin: Failed branch indexing Change By: Alexandr Semak GitHub Branch Source had already been working but now We can't indexing repo:{code:java}[Wed Dec 12 13:23:19 UTC 2018] Starting branch indexing... 13:23:19 Connecting to https://api.github.com using twcsysadmins/** (twcsysadmins github api token)ERROR: [Wed Dec 12 13:23:19 UTC 2018] Could not update folder level actions from source 12ca09af-4dfe-4959-8266-0b82428ee176 java.lang.ArrayIndexOutOfBoundsException: 1 at org.kohsuke.github.GitHub.getRepository(GitHub.java:474) at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.retrieveActions(GitHubSCMSource.java:1667) at jenkins.scm.api.SCMSource.fetchActions(SCMSource.java:765) at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:590) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:276) at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165) at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1024) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429)[Wed Dec 12 13:23:19 UTC 2018] Finished branch indexing. Indexing took 0 ms FATAL: Failed to recompute children of wxu-armada-cluster-secret java.lang.ArrayIndexOutOfBoundsException: 1 at org.kohsuke.github.GitHub.getRepository(GitHub.java:474) at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.retrieveActions(GitHubSCMSource.java:1667) at jenkins.scm.api.SCMSource.fetchActions(SCMSource.java:765) at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:590) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:276) at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165) at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1024) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Finished: FAILURE{code}GitHub Branch Source have any limits ?Because we have quite big organization.
[JIRA] (JENKINS-55151) GitHub Branch Source Plugin: Failed branch indexing
Title: Message Title Alexandr Semak created an issue Jenkins / JENKINS-55151 GitHub Branch Source Plugin: Failed branch indexing Issue Type: Improvement Assignee: Unassigned Components: github-branch-source-plugin Created: 2018-12-12 14:00 Environment: Jenkins ver. 2.121.3 GitHub Branch Source 2.4.0 Labels: jenkins github github-branch-source-plugin Priority: Critical Reporter: Alexandr Semak GitHub Branch Source had already been working but now We can't indexing repo: [Wed Dec 12 13:23:19 UTC 2018] Starting branch indexing... 13:23:19 Connecting to https://api.github.com using twcsysadmins/** (twcsysadmins github api token) ERROR: [Wed Dec 12 13:23:19 UTC 2018] Could not update folder level actions from source 12ca09af-4dfe-4959-8266-0b82428ee176 java.lang.ArrayIndexOutOfBoundsException: 1 at org.kohsuke.github.GitHub.getRepository(GitHub.java:474) at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.retrieveActions(GitHubSCMSource.java:1667) at jenkins.scm.api.SCMSource.fetchActions(SCMSource.java:765) at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:590) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:276) at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165) at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1024)