I cleaned and rebuilt without issue. I'm sure that doesn't help you much, but it is one more data point.
On Thu, Oct 24, 2013 at 3:32 PM, Jon Schewe <[email protected]> wrote: > Have you tried building after wiping out your workspace? That's where I > had a problem. > > > On Thu, Oct 24, 2013 at 3:56 PM, Mark Waite <[email protected]>wrote: > >> I definitely did not have to do those steps for any of the jobs that I >> have configured. They've upgraded to git plugin 2.0 without those steps. >> >> There still seem to be several bugs in the git plugin 2.0 (refer to Jira >> for some examples), but it is working for me on the 20 or so jobs that I >> have configured. >> >> I did need one work around on one of my jobs, as described in >> https://issues.jenkins-ci.org/browse/JENKINS-20195 >> >> Mark Waite >> >> >> On Thu, Oct 24, 2013 at 2:25 PM, Jon Schewe <[email protected]> wrote: >> >>> I got my job to build, here is what I did. Is everyone expected to do >>> this for all jobs using git? >>> >>> 1) Delete configured repository >>> 2) Delete configured branches >>> 3) Select "None" as SCM >>> 4) Save >>> 5) Configure git repository >>> >>> >>> >>> On Thu, Oct 24, 2013 at 2:59 PM, Jon Schewe <[email protected]> wrote: >>> >>>> I just upgraded to git plugin 2.0 and Jenkins 1.509.4. I wiped out my >>>> workspace and then tried to run a build and got the messages below. I tried >>>> turning on the option to wipe out the workspace and force a clone and that >>>> didn't help either. >>>> >>>> *15:56:31* Started by user Jon Schewe >>>> <http://mtu.net/jenkins/user/jpschewe>*15:56:31* Building in workspace >>>> /home/hudson/.hudson/jobs/fll-release/workspace*15:56:31* Pruning obsolete >>>> local branches*15:56:31* FATAL: Command "config --get remote.origin.url" >>>> returned status code 1:*15:56:31* stdout: *15:56:31* stderr: *15:56:31* >>>> hudson.plugins.git.GitException >>>> <http://stacktrace.jenkins-ci.org/search?query=hudson.plugins.git.GitException>: >>>> Command "config --get remote.origin.url" returned status code >>>> 1:*15:56:31* stdout: *15:56:31* stderr: *15:56:31* at >>>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:940)*15:56:31* >>>> at >>>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:921)*15:56:31* >>>> at >>>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:865)*15:56:31* >>>> at >>>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:875)*15:56:31* >>>> at >>>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getRemoteUrl(CliGitAPIImpl.java:603)*15:56:31* >>>> at >>>> hudson.plugins.git.GitAPI.getRemoteUrl(GitAPI.java:61)*15:56:31* at >>>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.prune(CliGitAPIImpl.java:393)*15:56:31* >>>> at >>>> hudson.plugins.git.extensions.impl.PruneStaleBranch.beforeCheckout(PruneStaleBranch.java:31)*15:56:31* >>>> at hudson.plugins.git.GitSCM.checkout(GitSCM.java:858)*15:56:31* >>>> at >>>> hudson.model.AbstractProject.checkout(AbstractProject.java:1376)*15:56:31* >>>> at >>>> hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:655)*15:56:31* >>>> at >>>> jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)*15:56:31* >>>> at >>>> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:560)*15:56:31* >>>> at hudson.model.Run.execute(Run.java:1592)*15:56:31* at >>>> hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)*15:56:31* at >>>> hudson.model.ResourceController.execute(ResourceController.java:88)*15:56:31* >>>> at hudson.model.Executor.run(Executor.java:237) >>>> >>>> >>>> -- >>>> http://mtu.net/~jpschewe >>>> >>>> >>> >>> >>> -- >>> http://mtu.net/~jpschewe >>> >>> -- >>> 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 [email protected]. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> -- >> 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 [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > http://mtu.net/~jpschewe > > -- > 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 [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
