-
Bug
-
Resolution: Incomplete
-
Major
-
None
-
Jenkins v2.32.3->2.51
github-branch-source-plugin v 2.0.3->2.0.4
All other plugins also up-to-date
CentOS Linux release 7.3.1611 (Core)
Linux jenkins-2.ma 3.10.0-514.2.2.el7.x86_64 #1 SMP Tue Dec 6 23:06:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
java.runtime.name OpenJDK Runtime Environment
java.runtime.version 1.8.0_111-b15
java.specification.name Java Platform API Specification
java.specification.vendor Oracle Corporation
java.specification.version 1.8
java.vendor Oracle Corporation
Jenkins v2.32.3->2.51 github-branch-source-plugin v 2.0.3->2.0.4 All other plugins also up-to-date CentOS Linux release 7.3.1611 (Core) Linux jenkins-2.ma 3.10.0-514.2.2.el7.x86_64 #1 SMP Tue Dec 6 23:06:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux java.runtime.name OpenJDK Runtime Environment java.runtime.version 1.8.0_111-b15 java.specification.name Java Platform API Specification java.specification.vendor Oracle Corporation java.specification.version 1.8 java.vendor Oracle Corporation
I am having a hard time getting a new setup of the Github Branch Source Plugin executing a build of a candidate branch. This is the output shown below.
The repository has been scanned successfully and my credentials are in working order.
This looks like a bug to me.
The jenkins.log contains only -
Mar 24, 2017 4:09:45 PM org.jenkinsci.plugins.workflow.job.WorkflowRun finish INFO: AndroidSDKs/accounts_android_sdk/develop #13 completed: FAILURE Mar 24, 2017 4:09:46 PM org.jenkinsci.plugins.workflow.flow.FlowExecutionList unregister WARNING: Owner[AndroidSDKs/accounts_android_sdk/develop/13:AndroidSDKs/accounts_android_sdk/develop #13] was not in the list to begin with: []
Console Output
Started by user
Marcus Greville
15:35:28 Connecting to https://github.internal/api/v3/ using XXXXXXX/****** (MAGithubScan)GitHub has been notified of this commit's build result
java.lang.NullPointerException
at org.kohsuke.github.GitHub.getApiURL(GitHub.java:277)
at org.kohsuke.github.Requester.asStream(Requester.java:312)
at org.kohsuke.github.GHContent.read(GHContent.java:119)
at org.jenkinsci.plugins.github_branch_source.GitHubSCMFile.content(GitHubSCMFile.java:181)
at jenkins.scm.api.SCMFile.contentAsString(SCMFile.java:338)
at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:91)
at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:232)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:405)
Finished: FAILURE
The Scan works correctly
Scan Repository Log
Started by user Marcus Greville [Fri Mar 24 13:51:22 AEDT 2017] Starting branch indexing... 13:51:23 Connecting to https://github.internal/api/v3/ using XXXXXXX/****** (MAGithubScan) Looking up MET/accounts_android_sdk Getting remote pull requests... 0 pull requests were processed Getting remote branches... Checking branch develop 'Jenkinsfile' found Met criteria Changes detected: develop (55b30a5f68150f6565bcc6ff2b6b0bf0e8a6f418 → 74199dee312697aee68c818d8757cacf3259a8f4) Scheduled build for branch: develop 1 branches were processed Done examining MET/accounts_android_sdk [Fri Mar 24 13:51:26 AEDT 2017] Finished branch indexing. Indexing took 3.4 sec Evaluating orphaned items in Mobile & Emerging Technologies » accounts_android_sdk Finished: SUCCESS
- relates to
-
JENKINS-46449 NPE on build PR head revision
- Closed
- links to