Regex values for newQuality

Aug 21, 2013 at 5:37 PM
I have build qualities of Deployable:All, and Deployable:Middleware.

I have tried deployment mapping values of: (Deployable:)((All|Middleware)) and Deployable:All|Deployable:Middleware, neither of which match and trigger a deployment script.

Any ideas why this is so?
Coordinator
Aug 21, 2013 at 11:18 PM
Hi,

Build Definition Names in the DeploymentMappings.xml file are matched using Regular Expressions as can be seen in the ConfigurationReader.cs source file.

However, Qualities are matched using a case-insensitive full-string comparison only as can be seen in the MappingEvaluator.cs source file.

At the moment you will need to either create two copies of the <Mapping>, one for each of your qualities, or change the source to TFS Deployer to match qualities using Regular Expressions and build a custom version.

Regards,

Jason