Re: git polling builds every 2 minutes, repository isn't changing - why?

2014-05-13 Thread Mark Waite
That's good to know.  That particular pull request still needs further
work, since there are a number of use cases which need to be preserved
while allowing namespaces.


On Tue, May 13, 2014 at 2:20 PM, Andrei Neculau wrote:

> Thanks Mark
> Our scenario was triggered by: namespaced branches with the same name.
>
> I was about to mention this finding, but it seems to be already a pull
> request in
> https://issues.jenkins-ci.org/browse/JENKINS-20767
>
>
>
>
> On Mon, May 12, 2014 at 3:10 PM, Mark Waite wrote:
>
>> There are several bug reports related to builds happening repeatedly when
>> git SCM polling incorrectly decides there is a change, though there is not
>> a change.  A few of them used a work around of adding the "Additional
>> Behaviours" to "Force polling using workspace" .
>>
>>
>>- JENKINS-22009
>>- JENKINS-21652
>>- JENKINS-20767
>>- JENKINS-20738
>>- JENKINS-20607
>>- JENKINS-20569
>>- JENKINS-20562
>>- JENKINS-19569
>>- JENKINS-18212
>>- JENKINS-15803
>>
>> Those may help you identify which work around is best for you, and they
>> may help you help the maintainers by isolating the specific cause of the
>> case which you are seeing.
>>
>> Mark Waite
>>
>>
>> On Mon, May 12, 2014 at 3:53 AM, Andrei Neculau > > wrote:
>>
>>> Seeing the same behaviour still.
>>> Does anyone have any updates?
>>>
>>> On Thursday, October 24, 2013 9:06:59 PM UTC+2, nigelm wrote:
>>>>
>>>> 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@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 
>>>>> Date: Thursday, October 24, 2013 12:29 PM
>>>>> To: "jenkins...@googlegroups.com" 
>>>>> Cc: Maneesh M P , Chris Cooper <
>>>>> chris@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 Repositorie

Re: git polling builds every 2 minutes, repository isn't changing - why?

2014-05-13 Thread Andrei Neculau
Thanks Mark
Our scenario was triggered by: namespaced branches with the same name.

I was about to mention this finding, but it seems to be already a pull
request in
https://issues.jenkins-ci.org/browse/JENKINS-20767




On Mon, May 12, 2014 at 3:10 PM, Mark Waite wrote:

> There are several bug reports related to builds happening repeatedly when
> git SCM polling incorrectly decides there is a change, though there is not
> a change.  A few of them used a work around of adding the "Additional
> Behaviours" to "Force polling using workspace" .
>
>
>- JENKINS-22009
>- JENKINS-21652
>- JENKINS-20767
>- JENKINS-20738
>- JENKINS-20607
>- JENKINS-20569
>- JENKINS-20562
>- JENKINS-19569
>- JENKINS-18212
>- JENKINS-15803
>
> Those may help you identify which work around is best for you, and they
> may help you help the maintainers by isolating the specific cause of the
> case which you are seeing.
>
> Mark Waite
>
>
> On Mon, May 12, 2014 at 3:53 AM, Andrei Neculau 
> wrote:
>
>> Seeing the same behaviour still.
>> Does anyone have any updates?
>>
>> On Thursday, October 24, 2013 9:06:59 PM UTC+2, nigelm wrote:
>>>
>>> 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@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 
>>>> Date: Thursday, October 24, 2013 12:29 PM
>>>> To: "jenkins...@googlegroups.com" 
>>>> Cc: Maneesh M P , Chris Cooper <
>>>> chris@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 
>>>>> Date: Thursday, October 24, 2013 11:51 AM
>>>>> To: "jenkins...@googlegroups.com" 
>>>>> Cc: Chris Cooper 
>>>>> Su

Re: git polling builds every 2 minutes, repository isn't changing - why?

2014-05-12 Thread Mark Waite
There are several bug reports related to builds happening repeatedly when
git SCM polling incorrectly decides there is a change, though there is not
a change.  A few of them used a work around of adding the "Additional
Behaviours" to "Force polling using workspace" .


   - JENKINS-22009
   - JENKINS-21652
   - JENKINS-20767
   - JENKINS-20738
   - JENKINS-20607
   - JENKINS-20569
   - JENKINS-20562
   - JENKINS-19569
   - JENKINS-18212
   - JENKINS-15803

Those may help you identify which work around is best for you, and they may
help you help the maintainers by isolating the specific cause of the case
which you are seeing.

Mark Waite


On Mon, May 12, 2014 at 3:53 AM, Andrei Neculau wrote:

> Seeing the same behaviour still.
> Does anyone have any updates?
>
> On Thursday, October 24, 2013 9:06:59 PM UTC+2, nigelm wrote:
>>
>> 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 > > 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 
>>> Date: Thursday, October 24, 2013 12:29 PM
>>> To: "jenkins...@googlegroups.com" 
>>> Cc: Maneesh M P , Chris Cooper <
>>> chris@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 
>>>> Date: Thursday, October 24, 2013 11:51 AM
>>>> To: "jenkins...@googlegroups.com" 
>>>> Cc: Chris Cooper 
>>>> 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 
>

Re: git polling builds every 2 minutes, repository isn't changing - why?

2014-05-12 Thread Andrei Neculau
Seeing the same behaviour still.
Does anyone have any updates?

On Thursday, October 24, 2013 9:06:59 PM UTC+2, nigelm wrote:
>
> 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 
> 
> > 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 >
>> Date: Thursday, October 24, 2013 12:29 PM
>> To: "jenkins...@googlegroups.com " <
>> jenkins...@googlegroups.com >
>> Cc: Maneesh M P >, Chris Cooper <
>> chris@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 
>>> Date: Thursday, October 24, 2013 11:51 AM
>>> To: "jenkins...@googlegroups.com" 
>>> Cc: Chris Cooper 
>>> 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 
>>>> Reply-To: "jenkins...@googlegroups.com" 
>>>> Date: Thursday, October 24, 2013 10:55 AM
>>>> To: "jenkins...@googlegroups.com" 
>>>> Cc: Chris Cooper 
>>>> 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 no

Re: git polling builds every 2 minutes, repository isn't changing - why?

2013-10-24 Thread Nigel Magnay
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  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 
> Date: Thursday, October 24, 2013 12:29 PM
> To: "jenkinsci-users@googlegroups.com" 
> Cc: Maneesh M P , 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 
>> Date: Thursday, October 24, 2013 11:51 AM
>> To: "jenkins...@googlegroups.**com" 
>> Cc: Chris Cooper 
>> 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 
>>> Reply-To: "jenkins...@googlegroups.com" 
>>> Date: Thursday, October 24, 2013 10:55 AM
>>> To: "jenkins...@googlegroups.com" 
>>> Cc: Chris Cooper 
>>> 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

Re: git polling builds every 2 minutes, repository isn't changing - why?

2013-10-24 Thread Chris Cooper
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 mailto:maneesh.po...@gmail.com>>
Date: Thursday, October 24, 2013 12:29 PM
To: "jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com>" 
mailto:jenkinsci-users@googlegroups.com>>
Cc: Maneesh M P mailto:maneesh.po...@gmail.com>>, 
Chris Cooper 
mailto: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 >
Date: Thursday, October 24, 2013 11:51 AM
To: "jenkins...@googlegroups.com" 
>
Cc: Chris Cooper >
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 
Reply-To: "jenkins...@googlegroups.com" 
Date: Thursday, October 24, 2013 10:55 AM
To: "jenkins...@googlegroups.com" 
Cc: Chris Cooper 
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
) 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
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.

-- 
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.


Re: git polling builds every 2 minutes, repository isn't changing - why?

2013-10-24 Thread Chris Cooper
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 mailto:maneesh.po...@gmail.com>>
Date: Thursday, October 24, 2013 11:51 AM
To: "jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com>" 
mailto:jenkinsci-users@googlegroups.com>>
Cc: Chris Cooper 
mailto:chris.coo...@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 >
Reply-To: "jenkins...@googlegroups.com" 
>
Date: Thursday, October 24, 2013 10:55 AM
To: "jenkins...@googlegroups.com" 
>
Cc: Chris Cooper >
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
) 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
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.

-- 
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.


Re: git polling builds every 2 minutes, repository isn't changing - why?

2013-10-24 Thread Chris Cooper
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 mailto:maneesh.po...@gmail.com>>
Reply-To: 
"jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com>" 
mailto:jenkinsci-users@googlegroups.com>>
Date: Thursday, October 24, 2013 10:55 AM
To: "jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com>" 
mailto:jenkinsci-users@googlegroups.com>>
Cc: Chris Cooper 
mailto:chris.coo...@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
) 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
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-users+unsubscr...@googlegroups.com<mailto: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.


Re: git polling builds every 2 minutes, repository isn't changing - why?

2013-10-24 Thread Maneesh M P
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
>  
> ) 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
>  
> 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-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.