Re: Only trigger a build for a new tag in a Git repository

2013-08-05 Thread William Soula
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 
jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Only trigger a build for a new tag in a Git repository

2013-08-01 Thread Sebastian Bergmann
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.