Error with git .. Verify the repository and branch configuration ...

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Error with git .. Verify the repository and branch configuration ...

Torsten Zander
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 | Threaded
Open this post in threaded view
|

Re: Error with git .. Verify the repository and branch configuration ...

Sami Tikka
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 <[hidden email]>:

> 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 | Threaded
Open this post in threaded view
|

Re: Error with git .. Verify the repository and branch configuration ...

Torsten Zander
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://[hidden email]/../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 <[hidden email]>:


> 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 | Threaded
Open this post in threaded view
|

Re: Error with git .. Verify the repository and branch configuration ...

Gábor Garami

How did you specified the required password? On jenkins host can you do clone this repo too?

Regards,
--
Gabor Garami

2012.04.02. 5:25, "Torsten Zander" <[hidden email]> ezt írta:
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://torsten@.../../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 <[hidden email]>:
> 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 | Threaded
Open this post in threaded view
|

Re: Error with git .. Verify the repository and branch configuration ...

Sami Tikka
In reply to this post by Torsten Zander
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 <[hidden email]>:

> 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://torsten@.../../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 <[hidden email]>:
>> > 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