Did you try if you can do the clone as the same user as jenkins is running as?

Does git check out *anything*? Are there any files in the workspace?

Other than that, I'm running out of ideas.

-- Sami

2012/4/2 Torsten Zander <torstenzan...@googlemail.com>:
> Hi Sami,
>
> Thanks.
>
> Yes i can manually clone the repository.
>
> Here  is the complete log:
>
> Building in workspace /var/lib/jenkins/jobs/mycode/workspace
> Checkout:workspace / /var/lib/jenkins/jobs/mycode/workspace -
> hudson.remoting.LocalChannel@6f5ae2
> Using strategy: Default Checkout:workspace /
> /var/lib/jenkins/jobs/mycode/workspace - hudson.remoting.LocalChannel@6f5ae2
> Cloning the remote Git repository Cloning repository origin Fetching
> upstream changes from
> https://tors...@github.com/../mycode.git ERROR: Couldn't find any revision
> to build. Verify the repository and branch configuration for this job.
> Finished: FAILURE
>
> In the configuration I just defined the repository url with
> https://bla....git (No value in Name and Refspec)
> and automatically jenkins puts "*/master" as "Branch Specifier (blank for
> default)" I also tried to leave it blank but I didn't make any difference.
>
> Torsten
>
>
> Am Montag, 2. April 2012 00:21:04 UTC+2 schrieb sti:
>>
>> Please provide more information.
>>
>> Can you manually git clone the same git repository you try to clone in
>> the Jenkins job?
>>
>> Can you show us the full console log?
>>
>> Can you show us the full job configuration? Or at least the SCM part of
>> it?
>>
>> -- Sami
>>
>> 2012/4/1 Torsten Zander <torstenzan...@googlemail.com>:
>> > Hi
>> >
>> >
>> > When I strat the jenkins process with my configured git properties. I
>> > always
>> > get:
>> >
>> >
>> > ERROR: Couldn't find any revision to build. Verify the repository and
>> > branch
>> > configuration for this job.
>> >
>> >
>> > I tried many different options but the error message remains.
>> >
>> >
>> > I use: Jenkins ver. 1.457 and Git Plugin: 1.1.16
>> >
>> >
>> > Thanks
>> >
>> > Torsten

Reply via email to