This continues to be a problem with SCM 2.0 that went out today and the 
various plugin updates that went with.

On Thursday, January 12, 2017 at 2:15:00 PM UTC-6, nwa...@rednovalabs.com 
wrote:
>
>
> I have a pull request that looks like this with a Jenkinsfile in it:
>
>
> <https://lh3.googleusercontent.com/-VyjcumzN2jI/WHfh3jFQdGI/AAAAAAAAAF0/3aHfIVYdWMcGquj19XZ5MfT0ErdWMfEQACLcB/s1600/Screen%2BShot%2B2017-01-12%2Bat%2B2.06.37%2BPM.png>
>  
> <https://lh3.googleusercontent.com/-VyjcumzN2jI/WHfh3jFQdGI/AAAAAAAAAF0/3aHfIVYdWMcGquj19XZ5MfT0ErdWMfEQACLcB/s1600/Screen%2BShot%2B2017-01-12%2Bat%2B2.06.37%2BPM.png>
>
>
> Before I opened the PR, the branch ran successfully under our Github 
> Org/Project in Jenkins2.  Our Github org in Jenkins is set up to run:
>
> Build origin branches
> Build origin PRs (merged with base branch)
>
> Now when I make changes to the PR and Jenkins tries to run it, I see this 
> in the console output:
>
> Connecting to https://api.github.com using mygithubuser/****** (Jenkin's 
> Github account)
> java.io.IOException: Cannot find base branch metadata from SCMHead{'PR-65'}
>       at 
> org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.doRetrieve(GitHubSCMSource.java:601)
>       at 
> org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.retrieve(GitHubSCMSource.java:586)
>       at jenkins.scm.api.SCMSource.fetch(SCMSource.java:505)
>       at 
> org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:75)
>       at 
> org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:215)
>       at hudson.model.ResourceController.execute(ResourceController.java:98)
>       at hudson.model.Executor.run(Executor.java:404)
> Finished: FAILURE
>
> Has anyone seen this before and/or know what to do about it?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/d480d7a6-58c7-4f13-a134-3b1824e6c2ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to