sgrassie Posted October 15, 2021 Report Share Posted October 15, 2021 Does anyone know if it's possible to pull the attributes on a branch out in TeamCity with the Plastic Plugin? Specifically, I want to add a condition to a build step so that the build step is only executed if a particular attribute is found on the branch being built. Link to comment Share on other sites More sharing options...
calbzam Posted October 15, 2021 Report Share Posted October 15, 2021 Hi, You should be able to query it via "cm find attribute": https://www.plasticscm.com/documentation/cmfind/plastic-scm-version-control-query-system-guide#Attributes Please check this link where we explain how to get the attributes for a specific branch. Regards, Carlos. Link to comment Share on other sites More sharing options...
sgrassie Posted October 15, 2021 Author Report Share Posted October 15, 2021 Hi Carlos, thanks for your reply. I don't think you can use a cm find query as Parameter-base Execution Condition, as the dialog in Teamcity seems to want to only use named parameters. I think though that I can use cm find attribute in our build script to find a named attribute and update a named parameter in Teamcity that I can then use as a condition in the Parameter-base Execution in the relevant build steps. thanks 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now