prevent continuous triggering by using branch name not tag version..

Fixes #4995. https://issues.jenkins-ci.org/browse/JENKINS-23299