Suppose, we have master branch. Then we checkout to a new branch, lets name it branch1:
Then we do some commits:
Then we push our branch to Git repository:
In Jenkins, Git polling reports:
but Changes section shows nothing, it means, that no changes were made. Nevertheless, build was triggered.
The problem is deeper, suppose our build runs unit tests, and they failed. In that case, no emails will be send to committers, because of no changes. We have caught this case and got a problems
I think, it's a bug, because 2 new commits were created and Jenkins should show it in Changes section.