Jenkins automatic git polling stuck after pulling with a tag or commit -


i want build occur each time user commit on branches , manually when trigger specific build providing commitid or branch name (ie: refs/tags/tag_name).

both mode working fine using build parameter , using variable (cf config part) when trigger build specific branch (or commit) git polling stucked on specific version , new commit ignored.

as workaround can trigger manually build providing ** or origin/masterand config normal. painful users , i'd fix issue…

polling output:

git polling log normal mode git polling mode stuck on tag

configuration:

build parameter config source code configuration poll scm config

what tired

i tried add post code reset scm state @ end of job execution, not working. clue ?

git checkout master git reset --hard origin/master 

note: setup jenkins config build 1 job @ time (concurrency disabled don't have constraint this).

i found late there open bug that: https://issues.jenkins-ci.org/browse/jenkins-27349

just found looking @ next release log of gitplugin version 2.4.0 (coming -> jul 18, 2015 - estimated). hope fix issue.


Comments