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

31 views
Skip to first unread message

zakyn

unread,
Sep 12, 2019, 3:19:46 AM9/12/19
to Jenkins Users
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





 



Reply all
Reply to author
Forward
0 new messages