There's an example job configuration [1] for this which you can download
with the Recipe Plugin [2].
Though I believe you can only do very basic wildcard matching, e.g.
"jenkins-build/*" works as a tag name, but not "jenkins-build-*".
Regards,
Chris
[1]:
https://github.com/jenkinsci/submitted-recipes/blob/inbound/org.jenkins-ci.recipes.git.trigger-build-by-tag.jrcp
[2]: https://wiki.jenkins-ci.org/display/JENKINS/Recipe+Plugin
On 18/04/13 16:10, Vishal Gupta 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.