Thanks Mark, we have compiled 2.33.0 from source so partial should work but Jenkins doesn't pull repo when there's a tag created.
On Wednesday, September 22, 2021 at 1:14:13 PM UTC-7 Mark Waite wrote: > If you're running the default command line git version on CentOS 7, it > does not accept partial globs in the refspec. The command line git > documentation for refspec says: > > Since Git 2.6.0 you can use partial globs in the pattern to match multiple > branches, so this works: > fetch = +refs/heads/qa*:refs/remotes/origin/qa* > > If you're running a command line git version before 2.6.0, your partial > glob won't work. > > On Wednesday, September 22, 2021 at 11:50:30 AM UTC-8 > jayarama...@gmail.com wrote: > >> Hello, >> >> I wanted to trigger a Jenkins build when a new tag is created but I'm not >> having any luck with it. >> >> Just to be sure I mentioned it, I don't have access to modify the repo >> since it's a public repo. >> >> The following configuration is what I used in the "Git" Source Code >> Management >> Repo URL: https://github.com/apache/tomcat.git >> Refspec: +refs/tags/8.5.*:refs/remotes/origin/tags/8.5.* >> Branch Specifier: **/tags/** >> Build Trigger: Poll SCM (with no schedule) >> >> Is there something I'm doing wrong? >> >> I can't do WebHooks which is unfortunate I think >> >> Any insights would be appreciated. >> >> [image: SCM.jpg] >> >> [image: Triggers.jpg] >> >> 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6bac0c97-15a3-4578-93d0-2fe7b14e63a7n%40googlegroups.com.