Inverse Git Poller building all branches on each interval

13 views
Skip to first unread message

Jay Perry

unread,
Dec 22, 2014, 2:49:09 PM12/22/14
to jenkins...@googlegroups.com
Hi,

I have a jenkins build that I only want to build for branches so I am using the Inverse feature but it seems the build is running on each scheduled interval because my branch doesn't have the same commit hash as master.  See my setting below:

Git Polling Output:

Started on Dec 22, 2014 2:46:00 PM
Using strategy: Inverse
[poll] Last Built Revision: Revision f4b79d256f1957dc941cd442d428c8c8d3718b19 (origin/jaytest)
using .gitcredentials to set credentials
 > git --version # timeout=10
 > git init /tmp/hudson957459003210870595tmp # timeout=10
 > git config --local credential.helper store --file=/tmp/git5072196379444907757.credentials # timeout=10
 > git ls-remote -h https://bitbucket.org/myapp/eos.git master # timeout=10
 > git config --local --remove-section credential # timeout=10
[poll] Latest remote head revision is: 4701bd4a891cddb28f523a0a02bb38a55c03674d
Done. Took 0.64 sec
Changes found

Build Info showing no changes but SCM triggered the build

Any idea what is going on here?  I have jenkins 1.580.1 and git plugin 2.3.2.

Thanks,
Jay

Reply all
Reply to author
Forward
0 new messages