Close and reopen the pull request to trigger a new build. On Dec 23, 2015 8:47 PM, "Michael Wu" <mchl....@gmail.com> wrote:
> Cool, thanks a lot, Andrew! BTW, is there any way to rebuild the job for a > specific pull request? Or say, how can we re-trigger a build if the CI > status has been marked as "All checks have failed", please? > > On Thu, Dec 24, 2015 at 9:38 AM, Andrew Bayer <andrew.ba...@gmail.com> > wrote: > >> That was something wrong with the Mac mini slave, which also was >> misconfigured to allow any job to run on it, not just ones explicitly tied >> to it. I fixed that and re ran your build and it worked fine. >> >> >> On Wednesday, December 23, 2015, Michael Wu <mchl....@gmail.com> wrote: >> >>> Andrew, >>> >>> I tried but the job still failed and the console-log seemed to remain >>> the same, could you please help take a look at it? This issue has failed >>> the checks for any pull request of project incubator-eagle. >>> The job is at https://builds.apache.org/job/incubator-eagle-pr-reviewer >>> and I paste the console-log below: >>> ************************************** >>> >>> Building remotely on mac-mini-1 >>> <https://builds.apache.org/computer/mac-mini-1> (osx mac) in workspace >>> /Users/jenkins/jenkins-home/workspace/incubator-eagle-pr-reviewer >>> Cloning the remote Git repository >>> Cloning repository git://github.com/apache/incubator-eagle.git >>> > git init >>> /Users/jenkins/jenkins-home/workspace/incubator-eagle-pr-reviewer # >>> timeout=10 >>> ERROR: Error cloning remote repo 'origin'hudson.plugins.git.GitException >>> <http://stacktrace.jenkins-ci.org/search?query=hudson.plugins.git.GitException>: >>> Could not init >>> /Users/jenkins/jenkins-home/workspace/incubator-eagle-pr-reviewer >>> at >>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl$4.execute(CliGitAPIImpl.java:606) >>> >>> <http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.gitclient.CliGitAPIImpl$4.execute&entity=method> >>> at >>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:462) >>> >>> <http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute&entity=method> >>> at >>> org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152) >>> >>> <http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call&entity=method> >>> at >>> org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145) >>> >>> <http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call&entity=method> >>> at hudson.remoting.UserRequest.perform(UserRequest.java:121) >>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.perform&entity=method> >>> at hudson.remoting.UserRequest.perform(UserRequest.java:49) >>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.perform&entity=method> >>> at hudson.remoting.Request$2.run(Request.java:326) >>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Request$2.run&entity=method> >>> at >>> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) >>> >>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.InterceptingExecutorService$1.call&entity=method> >>> at java.util.concurrent.FutureTask.run(FutureTask.java:266) >>> <http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.FutureTask.run&entity=method> >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) >>> >>> <http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.ThreadPoolExecutor.runWorker&entity=method> >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) >>> >>> <http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.ThreadPoolExecutor$Worker.run&entity=method> >>> at java.lang.Thread.run(Thread.java:745) >>> <http://stacktrace.jenkins-ci.org/search/?query=java.lang.Thread.run&entity=method> >>> at ......remote call to mac-mini-1(Native Method) >>> at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1413) >>> at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) >>> at hudson.remoting.Channel.call(Channel.java:778) >>> at >>> org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145) >>> at sun.reflect.GeneratedMethodAccessor621.invoke(Unknown Source) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>> at java.lang.reflect.Method.invoke(Method.java:606) >>> at >>> org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:131) >>> at com.sun.proxy.$Proxy151.execute(Unknown Source) >>> at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1003) >>> at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1043) >>> at hudson.scm.SCM.checkout(SCM.java:484) >>> at hudson.model.AbstractProject.checkout(AbstractProject.java:1274) >>> at >>> hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609) >>> at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) >>> at >>> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531) >>> at hudson.model.Run.execute(Run.java:1738) >>> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) >>> at hudson.model.ResourceController.execute(ResourceController.java:98) >>> at hudson.model.Executor.run(Executor.java:381) >>> Caused by: hudson.plugins.git.GitException: Command "git init >>> /Users/jenkins/jenkins-home/workspace/incubator-eagle-pr-reviewer" returned >>> status code 1: >>> stdout: >>> stderr: xcode-select: error: no developer tools were found at >>> '/Applications/Xcode.app', and no install could be requested (perhaps no UI >>> is present), please install manually from 'developer.apple.com'. >>> >>> at >>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1640) >>> at >>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1616) >>> at >>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1612) >>> at >>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1254) >>> at >>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl$4.execute(CliGitAPIImpl.java:604) >>> at >>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:462) >>> at >>> org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152) >>> at >>> org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145) >>> at hudson.remoting.UserRequest.perform(UserRequest.java:121) >>> at hudson.remoting.UserRequest.perform(UserRequest.java:49) >>> at hudson.remoting.Request$2.run(Request.java:326) >>> at >>> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) >>> at java.util.concurrent.FutureTask.run(FutureTask.java:266) >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) >>> at java.lang.Thread.run(Thread.java:745) >>> ERROR: null >>> Retrying after 10 seconds >>> >>> ************************************** >>> >>> Thanks. >>> >>> Michael >>> >>> On Thu, Dec 24, 2015 at 5:10 AM, Andrew Bayer <andrew.ba...@gmail.com> >>> wrote: >>> >>>> Use the git://github.com/apache/incubator-eagle.git URL. >>>> >>>> A. >>>> >>>> On Wed, Dec 23, 2015 at 11:00 AM, Michael Wu <mchl....@gmail.com> >>>> wrote: >>>> >>>>> Hi Andrew, >>>>> >>>>> Following the guide, configured new job, and it can be hooked with >>>>> incubator-eagle github. However, I still encounter an issue for >>>>> configuring >>>>> the CI job to clone from git repo with either ssh: or https: protocol, the >>>>> job's console is at >>>>> https://builds.apache.org/job/incubator-eagle-pr-reviewer/1/console. >>>>> >>>>> The issue is, >>>>> 1. if I follow the guide to set git repo url as >>>>> g...@github.com:apache/incubator-eagle.git, >>>>> it shows an error message as captured in the attached screenshot, seeming >>>>> github doesn't hold ssh public key for the jenkins server. >>>>> 2. Otherwise if I set the git repo url as >>>>> https://github.com/apache/incubator-eagle.git, as we can see in the >>>>> job's console output, the job cannot clone from it. >>>>> >>>>> Could you please give me a further guide on how to deal with such >>>>> problem? Thanks a lot! >>>>> >>>>> Michael >>>>> >>>>> >>>>> On Mon, Dec 14, 2015 at 12:13 PM, Michael Wu <mchl....@gmail.com> >>>>> wrote: >>>>> >>>>>> Hi Bayer, >>>>>> >>>>>> The blogs instruction is very helpful, I'll try to create a job >>>>>> according to it. Thank you very much. >>>>>> >>>>>> Michael >>>>>> >>>>>> On Sat, Dec 12, 2015 at 2:30 AM, Andrew Bayer <andrew.ba...@gmail.com >>>>>> > wrote: >>>>>> >>>>>>> Hi - >>>>>>> >>>>>>> We already have a GitHub PR builder plugin installed - see >>>>>>> https://blogs.apache.org/infra/entry/github_pull_request_builds_now, >>>>>>> and https://builds.apache.org/job/cloudstack-pull-analysis/configure >>>>>>> for an example of how to configure to use it. >>>>>>> >>>>>>> A. >>>>>>> >>>>>>> On Fri, Dec 11, 2015 at 12:41 PM, Michael Wu <mchl....@gmail.com> >>>>>>> wrote: >>>>>>> >>>>>>>> Hi administrators of Jenkins, >>>>>>>> >>>>>>>> I'm using the jenkins service at builds.apache.org for >>>>>>>> incubator-eagle project to make builds, and I'd like to integrate it >>>>>>>> with >>>>>>>> github repo to automatically trigger builds when new pull requests >>>>>>>> comes. >>>>>>>> This requires a plugin: "github pull request builder", be installed to >>>>>>>> the >>>>>>>> Jenkins and configured correctly. Could you please help install it? >>>>>>>> Thanks. >>>>>>>> >>>>>>>> BTW, paste the official wiki page of the plugin for your reference. >>>>>>>> >>>>>>>> Michael >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >