Consider instead of using 'prereqs' to use <attainGoal> instead, like this:

<goal name="myGoal">

   <j:if test="...">
      <attainGoal name="..."/>
   </j:if>

</goal>


Geoffrey wrote:

Hi,

Can I do a conditional prereqs in a plugin.jelly?

A goal should be attained conditionally based on a jelly expression, but if
it's already attained in this build it shouldn't be attained either.



Reply via email to