SCM polling for pipeline job - always find changes even if nothing changed in Git repo

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

SCM polling for pipeline job - always find changes even if nothing changed in Git repo

zakyn-2
Hello,

I have a pipeline job and jenkinsfile is loaded from the repository (see screenshot). Then I set the Poll to @hourly.

In the repository there are no changes but still the polling run the build.

I do not understand why jenkins runs poll more time and why the build is started even if no changes in repository (see polling log).

Thank you for your help.

Vladimir


Git Polling Log

Started on Sep 12, 2019 8:09:52 AM
Using strategy: Default
[poll] Last Built Revision: Revision 22b10be656a1f770ae28fb0c731eba194fc16010 (refs/remotes/origin/master)
No credentials specified
 > c:\_jt\Git\bin\git.exe --version # timeout=120
 > c:\_jt\Git\bin\git.exe ls-remote -h MYSERVER# timeout=120
Found 6 remote heads on MYSERVER 
[poll] Latest remote head revision on refs/heads/master is: 22b10be656a1f770ae28fb0c731eba194fc16010 - already built by 44
Using strategy: Default
[poll] Last Built Revision: Revision 22b10be656a1f770ae28fb0c731eba194fc16010 (refs/remotes/origin/master)
No credentials specified
 > c:\_jt\Git\bin\git.exe --version # timeout=120
 > c:\_jt\Git\bin\git.exe ls-remote -h MYSERVER # timeout=120
Found 6 remote heads on MYSERVER
[poll] Latest remote head revision on refs/heads/master is: 22b10be656a1f770ae28fb0c731eba194fc16010 - already built by 44
Using strategy: Default
No credentials specified
 > c:\_jt\Git\bin\git.exe --version # timeout=120
 > c:\_jt\Git\bin\git.exe ls-remote -h MYSERVER # timeout=120
Found 6 remote heads on MYSERVER
[poll] Latest remote head revision on refs/heads/master is: 22b10be656a1f770ae28fb0c731eba194fc16010
Done. Took 0.43 sec
Changes found





 



--
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].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f7690b5d-678a-4ca4-90a4-4109b77d654b%40googlegroups.com.