Possible set the refspec to where the tags are.  The git-fetch docs say -t will 
fetch all tags and then they give the refspec for that so that is probably what 
you need:
refs/tags/:refs/tags/

https://www.kernel.org/pub/software/scm/git/docs/git-fetch.html

Will

On 08/01/13 05:50, Sebastian Bergmann wrote:
I have a Jenkins job for a software project that is developed in a Git 
repository. I do not want the job to trigger a build for each push but rather 
for each new tag. Is that possible? How would I set this up? Thanks!
--
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
For more options, visit https://groups.google.com/groups/opt_out.



-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to