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

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

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

cscooper
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

Reply | Threaded
Open this post in threaded view
|

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

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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

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

cscooper
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 <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Thursday, October 24, 2013 10:55 AM
To: "[hidden email]" <[hidden email]>
Cc: Chris Cooper <[hidden email]>
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 [hidden email].
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

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

Maneesh M P
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 <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="LEJN-5qOJHUJ">manees...@...>
Reply-To: "<a href="javascript:" target="_blank" gdf-obfuscated-mailto="LEJN-5qOJHUJ">jenkins...@googlegroups.com" <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="LEJN-5qOJHUJ">jenkins...@googlegroups.com>
Date: Thursday, October 24, 2013 10:55 AM
To: "<a href="javascript:" target="_blank" gdf-obfuscated-mailto="LEJN-5qOJHUJ">jenkins...@googlegroups.com" <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="LEJN-5qOJHUJ">jenkins...@googlegroups.com>
Cc: Chris Cooper <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="LEJN-5qOJHUJ">chris....@...>
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="LEJN-5qOJHUJ">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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.

remote-polling.JPG (137K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

cscooper
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 <[hidden email]>
Date: Thursday, October 24, 2013 11:51 AM
To: "[hidden email]" <[hidden email]>
Cc: Chris Cooper <[hidden email]>
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 <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="LEJN-5qOJHUJ">manees...@...>
Reply-To: "<a href="javascript:" target="_blank" gdf-obfuscated-mailto="LEJN-5qOJHUJ">jenkins...@googlegroups.com" <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="LEJN-5qOJHUJ">jenkins...@googlegroups.com>
Date: Thursday, October 24, 2013 10:55 AM
To: "<a href="javascript:" target="_blank" gdf-obfuscated-mailto="LEJN-5qOJHUJ">jenkins...@googlegroups.com" <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="LEJN-5qOJHUJ">jenkins...@googlegroups.com>
Cc: Chris Cooper <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="LEJN-5qOJHUJ">chris....@...>
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="LEJN-5qOJHUJ">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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

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

Maneesh M P
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 <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="uc4xNkTmqPcJ">manees...@...>
Date: Thursday, October 24, 2013 11:51 AM
To: "<a href="javascript:" target="_blank" gdf-obfuscated-mailto="uc4xNkTmqPcJ">jenkins...@googlegroups.com" <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="uc4xNkTmqPcJ">jenkins...@googlegroups.com>
Cc: Chris Cooper <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="uc4xNkTmqPcJ">chris....@...>
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 <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Thursday, October 24, 2013 10:55 AM
To: "[hidden email]" <[hidden email]>
Cc: Chris Cooper <[hidden email]>
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.

remote-polling.JPG (58K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

cscooper
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 <[hidden email]>
Date: Thursday, October 24, 2013 12:29 PM
To: "[hidden email]" <[hidden email]>
Cc: Maneesh M P <[hidden email]>, Chris Cooper <[hidden email]>
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 <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="uc4xNkTmqPcJ">manees...@...>
Date: Thursday, October 24, 2013 11:51 AM
To: "<a href="javascript:" target="_blank" gdf-obfuscated-mailto="uc4xNkTmqPcJ">jenkins...@googlegroups.com" <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="uc4xNkTmqPcJ">jenkins...@googlegroups.com>
Cc: Chris Cooper <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="uc4xNkTmqPcJ">chris....@...>
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 <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Thursday, October 24, 2013 10:55 AM
To: "[hidden email]" <[hidden email]>
Cc: Chris Cooper <[hidden email]>
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

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

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 <[hidden email]> 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 <[hidden email]>
Date: Thursday, October 24, 2013 12:29 PM
To: "[hidden email]" <[hidden email]>
Cc: Maneesh M P <[hidden email]>, Chris Cooper <[hidden email]>

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 <[hidden email]>
Date: Thursday, October 24, 2013 11:51 AM
To: "jenkins...@googlegroups.com" <jenkins...@googlegroups.com>
Cc: Chris Cooper <[hidden email]>
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 <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Thursday, October 24, 2013 10:55 AM
To: "[hidden email]" <[hidden email]>
Cc: Chris Cooper <[hidden email]>
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 [hidden email].
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

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

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 <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="uKAUzaVo64QJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">chris....@...> 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 <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="uKAUzaVo64QJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">manees...@...>
Date: Thursday, October 24, 2013 12:29 PM
To: "<a href="javascript:" target="_blank" gdf-obfuscated-mailto="uKAUzaVo64QJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">jenkins...@googlegroups.com" <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="uKAUzaVo64QJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">jenkins...@googlegroups.com>
Cc: Maneesh M P <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="uKAUzaVo64QJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">manees...@...>, Chris Cooper <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="uKAUzaVo64QJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">chris....@...>

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 <[hidden email]>
Date: Thursday, October 24, 2013 11:51 AM
To: "jenkins...@googlegroups.com" <jenkins...@googlegroups.com>
Cc: Chris Cooper <[hidden email]>
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 <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Thursday, October 24, 2013 10:55 AM
To: "[hidden email]" <[hidden email]>
Cc: Chris Cooper <[hidden email]>
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 (
<a href="http://stackoverflow.com/questions/19569805/git-clone-followed-by-status-shows-untracked-files" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fstackoverflow.com%2Fquestions%2F19569805%2Fgit-clone-followed-by-status-shows-untracked-files\46sa\75D\46sntz\0751\46usg\75AFQjCNE6naflCtDdVPPr7KfEl-XsHzsBaA';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fstackoverflow.com%2Fquestions%2F19569805%2Fgit-clone-followed-by-status-shows-untracked-files\46sa\75D\46sntz\0751\46usg\75AFQjCNE6naflCtDdVPPr7KfEl-XsHzsBaA';return true;">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: <a href="http://jenkins-ci.361315.n4.nabble.com/git-polling-builds-every-2-minutes-repository-isn-t-changing-why-tp4679352.html" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fjenkins-ci.361315.n4.nabble.com%2Fgit-polling-builds-every-2-minutes-repository-isn-t-changing-why-tp4679352.html\46sa\75D\46sntz\0751\46usg\75AFQjCNHko-MpPAAWQRsiQXYiBpVRURSTaw';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fjenkins-ci.361315.n4.nabble.com%2Fgit-polling-builds-every-2-minutes-repository-isn-t-changing-why-tp4679352.html\46sa\75D\46sntz\0751\46usg\75AFQjCNHko-MpPAAWQRsiQXYiBpVRURSTaw';return true;"> 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 <a href="https://groups.google.com/groups/opt_out" target="_blank" onmousedown="this.href='https://groups.google.com/groups/opt_out';return true;" onclick="this.href='https://groups.google.com/groups/opt_out';return true;"> 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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="uKAUzaVo64QJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">jenkinsci-use...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/groups/opt_out" target="_blank" onmousedown="this.href='https://groups.google.com/groups/opt_out';return true;" onclick="this.href='https://groups.google.com/groups/opt_out';return true;">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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

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

Mark Waite-2
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
Date: Thursday, October 24, 2013 12:29 PM
To: "jenkins...@googlegroups.com" <jenkins...@googlegroups.com>
Cc: Maneesh M P <[hidden email]>, Chris Cooper <[hidden email]>

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 <[hidden email]>
Date: Thursday, October 24, 2013 11:51 AM
To: "jenkins...@googlegroups.com" <jenkins...@googlegroups.com>
Cc: Chris Cooper <[hidden email]>
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 <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Thursday, October 24, 2013 10:55 AM
To: "[hidden email]" <[hidden email]>
Cc: Chris Cooper <[hidden email]>
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-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 [hidden email].
For more options, visit https://groups.google.com/d/optout.



--
Thanks!
Mark Waite

--
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

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

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




On Mon, May 12, 2014 at 3:10 PM, Mark Waite <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
Date: Thursday, October 24, 2013 12:29 PM
To: "jenkins...@googlegroups.com" <jenkins...@googlegroups.com>
Cc: Maneesh M P <[hidden email]>, Chris Cooper <[hidden email]>

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 <[hidden email]>
Date: Thursday, October 24, 2013 11:51 AM
To: "jenkins...@googlegroups.com" <jenkins...@googlegroups.com>
Cc: Chris Cooper <[hidden email]>
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 <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Thursday, October 24, 2013 10:55 AM
To: "[hidden email]" <[hidden email]>
Cc: Chris Cooper <[hidden email]>
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-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 [hidden email].

For more options, visit https://groups.google.com/d/optout.



--
Thanks!
Mark Waite

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/jXzkXqdJOCw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.



--

--
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

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

Mark Waite-2
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 <[hidden email]> 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




On Mon, May 12, 2014 at 3:10 PM, Mark Waite <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
Date: Thursday, October 24, 2013 12:29 PM
To: "jenkins...@googlegroups.com" <jenkins...@googlegroups.com>
Cc: Maneesh M P <[hidden email]>, Chris Cooper <[hidden email]>

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 <[hidden email]>
Date: Thursday, October 24, 2013 11:51 AM
To: "jenkins...@googlegroups.com" <jenkins...@googlegroups.com>
Cc: Chris Cooper <[hidden email]>
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 <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Thursday, October 24, 2013 10:55 AM
To: "[hidden email]" <[hidden email]>
Cc: Chris Cooper <[hidden email]>
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-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 [hidden email].

For more options, visit https://groups.google.com/d/optout.



--
Thanks!
Mark Waite

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/jXzkXqdJOCw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.



--

--
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.



--
Thanks!
Mark Waite

--
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.