Re: HELP!!! if/else condition with cruise control???

aligisan <[email protected]> Tue, 11 Sep 2012 04:53:30 -0700 (PDT)
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
I am on the CC config file level, not on the ant task level. No way
then...(?)


KoenigGunther wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Do you know Antcontrib's If task?
> http://ant-contrib.sourceforge.net/tasks/tasks/if.html
> 
> Am 11.09.2012 11:05, schrieb aligisan:
>> 
>> how can i insert some if/else conditions with cruise control??? let's
>> assume i have defined a
>> "project" plugin, i want to insert an "if/else" condition depending on
>> parameter values...
>> something like this:
>> 
>> <plugin name="MyProject"
>> classname="net.sourceforge.cruisecontrol.ProjectConfig"> .... .... 
>> <publishers> <htmlemail> if (${parameter.alwaysAdress} != "") <always
>> address="${parameter.alwaysAdress}"/> else <always 
>> address="[email protected]"/> 
>> </htmlemail> </publishers> .... ....  </plugin>
>> 
>> <MyProject name="myProject_x64_release" buildafterfailed="false" >
>> <property
>> name="parameter.alwaysAdress" value="[email protected]"/> </MyProject>
>> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
> 
> iQEcBAEBAgAGBQJQTyOoAAoJEO2IMhqLUlJKVEAH/R1GCR8Tc/W8QlwXXQ+sbuwh
> 1Sn6KNCwdJwK7OGyLJmjk40CVn6Nx5izT49DEu5VFvKpnoSVbMN+DpIPfAnJ/qLU
> r5mZ5Tg101eJugLdLGJ/O1+mlBdY0fMro5niawi8d3Mun+dWqak2Dx/2woDTVcjQ
> SknA6K4vdM9RxtF2kF1j9Nwzc+1Lxnuwq6eI4Zheygdu8lwkbTbWkOKKkPIoCK+4
> mfDadB1RhxUfJFqjrUH+KSRGWOL977t/gePuJb7gXrDPaaZkCqprkuv1AyyZUc0u
> NBMkCZ7QNazndVRCawgGWlP8OjdxbvufwCCIg8Ys0VqARUreQShP09DU6yeX8vI=
> =12oh
> -----END PGP SIGNATURE-----
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
> 
> 

-- 
View this message in context: http://old.nabble.com/HELP%21%21%21-if-else-condition-with-cruise-control----tp34417277p34417885.html
Sent from the CruiseControl - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/