I want to configure jenkins so that it starts building if a new tag is released in any branch of an git repository. How do I configure this behaviour?
Triggering:
What do you mean by new tag? Does it has some template name?
You can surely define it in Advanced --> Refspec -->refs/tags/{tagname}
.
You can even do refs/tags/*
for finding really ANY new tags.