Reputation: 11
I am trying to set a conditional statement to use an attribute depending on its value.
I am not sure ccnet-config
supports conditions
For example:
<cb:define project-name="$(name)" />
<cb:if test:"$(project-name == '')">
<cb:define project-name="$(name)" />
</cb:if>
Upvotes: 1
Views: 739
Reputation: 10591
1.6 support this, and a few other new constructs (see the preprocessor documentation, new features are towards the bottom)
Upvotes: 1
Reputation: 26769
The CruiseControl.NET pre-processor, as of version 1.5, doesn't support conditional statements, so this is not possible.
Upvotes: 1