The most practical way to do this would be to create the tags in their own namespace in the repository. Something like: $ git tag jenkins/buildA
Then when you setup your Jenkins job with the Git plugin, you can use a refspec that only pulls the 'jenkins' namespace from the repository; the job will ignore all other refs in the repository. ----- Original Message ----- From: jenkinsci-users@googlegroups.com To: jenkinsci-users@googlegroups.com At: Apr 18 2013 11:42:39 Ooh, I like this question. Is there? On Thu, Apr 18, 2013 at 7:10 AM, Vishal Gupta <vishal.rgupt...@gmail.com> wrote: I want to trigger the build in Jenkins if a tag in GIT contains some specific string. Example : If tag contain string "JENKINS_BUILD" , then jenkins should trigger the build. How can we achieve this ? -- 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. -- Jared Griffith Linux Administrator, PICS Auditing, LLC P: (949) 936-4574 C: (909) 653-7814 17701 Cowan #140 | Irvine, CA | 92614Join PICS on LinkedIn! -- 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. -- 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.