Actually, I have also recently upgraded to the git plugin 2.0, and am also
seeing it repeatedly building (each time reporting many "SCM Change")
followed by it rebuilding the exact same SHA1 as the last time it was built.

Looks like a bug, but not sure exactly *where* yet..



On Thu, Oct 24, 2013 at 8:03 PM, Chris Cooper <chris.coo...@veranmedical.com
> wrote:

>  The UI for setting the options in the 2.0 plugin is apparently
> drastically different from the UI of the 1.5 plugin … it's now got a label
> "Additional Behaviours" with a button "Add" that brings up a drop down
> menu.
>
>  So, for example, where the 1.5 plugin shows you "Included Regions" and
> "Excluded Regions", the 2.0 plugin requires you to click on Add and select
> "Polling ignores commits in certain paths" at which point a sub-group
> appears in the UI that contains "Included Regions" and "Excluded Regions".
>
>  Problem is, I've opened up all of the sub-groups available from the
> "Add" button, and none of them contain anything similar to "Fast remote
> polling".
>
>  Chris
>
>   From: Maneesh M P <maneesh.po...@gmail.com>
> Date: Thursday, October 24, 2013 12:29 PM
> To: "jenkinsci-users@googlegroups.com" <jenkinsci-users@googlegroups.com>
> Cc: Maneesh M P <maneesh.po...@gmail.com>, Chris Cooper <
> chris.coo...@veranmedical.com>
>
> Subject: Re: git polling builds every 2 minutes, repository isn't
> changing - why?
>
>   Nope, I am using git version 1.5.0, I am sure that option will be
> available in 2.0 as well.
> You just have to click on the "Advanced" option right to "Repository
> browser".
> Please see the attached screenshot
>
>  Thanks,
> Maneesh
>
> On Thursday, October 24, 2013 11:22:21 AM UTC-7, Chris Cooper wrote:
>>
>>  Interesting … the configuration I have available looks NOTHING like
>> that!
>>
>>  I am up-to-date with Jenkins 1.536 and have the "Jenkins GIT client
>> plugin" (version 1.4.5) and the "Jenkins GIT plugin" (version 2.0).
>>
>>  In my job, in the "Source Code Management" section, one of the
>> radio-button choices is for "Git".  It lets me specify Repositories,
>> Branches to build, Repository browser, and Additional Behaviours.  None of
>> the Additional Behaviours contain anything about remote polling either.
>>
>>  Are you running git using some completely different method?
>>
>>  Thanks,
>> Chris
>>
>>
>>   From: Maneesh M P <manees...@gmail.com>
>> Date: Thursday, October 24, 2013 11:51 AM
>> To: "jenkins...@googlegroups.**com" <jenkins...@googlegroups.**com>
>> Cc: Chris Cooper <chris....@veranmedical.com**>
>> Subject: Re: git polling builds every 2 minutes, repository isn't
>> changing - why?
>>
>>   Please see the attached screenshot .. It was taken from my job
>> configuration.
>>
>>  Thanks,
>> Maneesh
>>
>> On Thursday, October 24, 2013 10:11:32 AM UTC-7, Chris Cooper wrote:
>>>
>>>  I see people talking about git remote polling, but can't find the
>>> option anywhere to enable it.  Can you point me to it?
>>>
>>>  Thanks,
>>> Chris
>>>
>>>
>>>   From: Maneesh M P <manees...@gmail.com>
>>> Reply-To: "jenkins...@googlegroups.com" <jenkins...@googlegroups.com>
>>> Date: Thursday, October 24, 2013 10:55 AM
>>> To: "jenkins...@googlegroups.com" <jenkins...@googlegroups.com>
>>> Cc: Chris Cooper <chris....@veranmedical.com>
>>> Subject: Re: git polling builds every 2 minutes, repository isn't
>>> changing - why?
>>>
>>>   Have you tried git remote polling ?
>>>
>>>  Thanks,
>>> Maneesh
>>>
>>> On Thursday, October 24, 2013 9:05:32 AM UTC-7, cscooper wrote:
>>>>
>>>> I'm starting the process of converting from cvs to git, and running
>>>> into a
>>>> strange issue.
>>>>
>>>> Right now, we have it set up so Jenkins polls git to see if anything
>>>> changed
>>>> (in the future I will try to get push notifications working) and for
>>>> some
>>>> reason it thinks the repository is always changing - so it builds every
>>>> 2
>>>> minutes, day and night.  The git repository is testing-only and I'm the
>>>> only
>>>> one who even has access to it, so I can guarantee it's not changing.
>>>>
>>>> If I look at the latest build (#727 from 10:00 am) and click on
>>>> "Started by
>>>> an SCM change", I see this:
>>>>
>>>> Started on Oct 24, 2013 10:00:11 AM
>>>> Using strategy: Default
>>>> [poll] Last Build Revision: revision 24e7blahblahblah4c85
>>>> (origin/master)
>>>> Done. Took 0.66 sec
>>>> Changes found
>>>>
>>>> and if I look at the build before that (#726 from 9:58 am) I see the
>>>> exact
>>>> same output (except the starting time and elapsed time changes).  The
>>>> revision HMAC is identical.
>>>>
>>>> I'm having other issues with this repository (
>>>> http://stackoverflow.com/**questions/19569805/git-clone-**
>>>> followed-by-status-shows-**untracked-files<http://stackoverflow.com/questions/19569805/git-clone-followed-by-status-shows-untracked-files>
>>>> ) so I don't know if I'm using git wrong, or if svn2git created the
>>>> repository wrong.
>>>>
>>>> Any ideas on this?
>>>>
>>>> Thanks,
>>>> Chris
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context: http://jenkins-ci.361315.n4.**
>>>> nabble.com/git-polling-builds-**every-2-minutes-repository-**
>>>> isn-t-changing-why-tp4679352.**html<http://jenkins-ci.361315.n4.nabble.com/git-polling-builds-every-2-minutes-repository-isn-t-changing-why-tp4679352.html>
>>>> Sent from the Jenkins users mailing list archive at Nabble.com.
>>>>
>>>   --
>>> 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-use...@googlegroups.**com.
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<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 jenkinsci-users+unsubscr...@googlegroups.com.
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to