I've been unable to make this work. Only "trunk" shows up in the dropdown. The pattern only seems to be applied one directory deep.
BTW - despite my earlier post, my repository does use "branches" and "tags", plural, as is the standard convention. I' m running Jenkins on Windows - could this be an OS-dependant problem. Vitaliy Krasheninnikov <[email protected]> wrote: Hi Jeff, You may specify regexp in tags filter. Like the following. parameterized build settings (with parameter type of "list subversion tags"): Name: branch Repository URL: svn://vcs.local/main/projectA Tags filter: trunk|(tags|branches)/.* Default value: trunk and use it later at project's SCM settings: Repository URL: svn://vcs.local/main/projectA/${branch} it works in any part of the SVN repo. 12.05.2014, 21:33, "Jeff Dege" <[email protected]>: > That very well could be the problem. > > Thanks. > > Sent from my NOOK > > Les Mikesell <[email protected]> wrote: > > On Mon, May 12, 2014 at 11:47 AM, Jeff Dege <[email protected]> wrote: > >> According to the help description, List Subversion tags is supposed to: >> >> Notice that you can set the Repository URL field to a Subversion repository >> root rather than just pointing to a tags dir (ie, you can set it to >> https://svn.jenkins-ci.org rather than >> https://svn.jenkins-ci.org/tags). In that case, if this repository root >> contains the trunk, branchesand tags folders, then the dropdown will allow >> the user to pick the trunk, or a branch, or a tag. >> >> I have a repository that contains a number of different projects, each of >> which has a ./trunk, ./branch, ./tag structure. When I set the Repository >> URL to the root of a project, I only see branch, tag, trunk, I don't see the >> branches in ./branch or the tags in ./tag. >> >> Is this only supposed to work when the URL is pointing to a repository root? >> Do many people actually create a separate repository for each and every >> project? I'd not have expected so. >> >> Or is this a bug? Or am I simply doing something wrong? > > I don't know much java, but I'd guess it has something to do with: > > private static final String SVN_BRANCHES = "branches"; > private static final String SVN_TAGS = "tags"; > private static final String SVN_TRUNK = "trunk"; > (per usual subversion conventions) in: > https://github.com/jenkinsci/subversion-plugin/blob/master/src/main/java/hudson/scm/listtagsparameter/ListSubversionTagsParameterDefinition.java > > Functionally, subversion doesn't really care what your directories are > named, but sometimes conventions matter. > > -- > Les Mikesell > [email protected] > > -- > You received this message because you are subscribed to a topic in the Google > Groups "Jenkins Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-users/4OpQ3BSSdyo/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > > -- > 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/d/optout. -- Regards, Vitaliy Krasheninnikov [email protected] -- You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/4OpQ3BSSdyo/unsubscribe. To unsubscribe from this group and all its topics, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- 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/d/optout.
