Re: Having trouble with Jenkins 2 checking out code in a PR under github org

2017-01-22 Thread nwalke
And now I think it's due to all this jazz...

https://issues.jenkins-ci.org/browse/JENKINS-41234

-- 
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/f46ec264-7d7e-48e2-b25e-f8079cc26485%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Having trouble with Jenkins 2 checking out code in a PR under github org

2017-01-18 Thread nwalke
I believe this is caused by the Github Branch Source Plugin being version 
1.10.1 after having read through 
this: https://jenkins.io/blog/2017/01/17/scm-api-2/

-- 
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/484ad5b9-eeb3-4dcd-b74d-2f1b16df3458%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Having trouble with Jenkins 2 checking out code in a PR under github org

2017-01-16 Thread nwalke
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:
>
>
> 
>  
> 
>
>
> 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.


Having trouble with Jenkins 2 checking out code in a PR under github org

2017-01-12 Thread nwalke



I have a pull request that looks like this with a Jenkinsfile in it:


 



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/5c52f217-6ab9-4cfe-87a0-ab68591ccfb4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.