Hi Jeoffrey, Which version of cc.net are you running? If you run 1.5 or higher, you should take a look at dynamic parameters : http://confluence.public.thoughtworks.org/display/CCNET/Dynamic+Parameters
Hope this helps, Benjamin 2010/12/9 Joeffrey <[email protected]> > Hi Guys, > > I have been trying to find a way to change the subject of the sent > email after each build. From the code below: > > <subjectSettings> > <subject buildResult="StillBroken" value="Build is still broken for $ > {CCNetProject}, please check again" /> > </subjectSettings> > > i was able to change the subject to my liking. > However when i try to pass a variable other that the default > Integration Properties, I was unsuccessful. > I tried defining a parameter using the code below: > > <textParameter> > <name>Environment</name> > <default>Test</default> > </textParameter> > > And use this parameter to change the subject: > > <subjectSettings> > <subject buildResult="StillBroken" value="Build is still broken for $ > {Environment}, please check again" /> > </subjectSettings> > > Is there a way to pass a user generated variable to be displayed as > the subject of the email? > > Thanks, > Joeffrey
