using a parameter to specify VCS root path
Hi,
I am still learning with TeamCity - my version is 9.1.7 with Plastic SCM as the VCS
I have set up a VCS root to a repository called projects. Within this repository are branches called main, development, test and integration.
From the development branch I have a number of discreet projects, project 1 and project 2 that are feature branches hanging from the development branch.
I need to have separate builds of these projects running. I have tried to create checkout rules using (+:Project 1 => Project 1) - this did not pull the necessary directories into the checkout directory.
I then had the bright idea that if I added a parameter to the VCS selector using the following it would resolve my issue;
repository "projects@x.x.x.x:8787"
path "/"
branch "/development/%BranchName%
I thought this would allow me to enter per project within the parameters the particular feature branch I need
Obviously I still cant get this to work :(
What and how should I configure my VCS to point to each of the feature branches (I shouldn't have to create separate VCS roots for each build should I??)
many thanks in advance for any help
Paul
Please sign in to leave a comment.
Hello Paul,
TeamCity parameters are resolved in Version control settings, but I'm not sure whether it's supported by Plastic SCM integration or not. Support for Plastic SCM is not produced by JetBrains, so it is rather a question for the plugin provider (PlasticSCM).