Global properties in the config file can be set like this.

DECLARATION:

<!DOCTYPE cruisecontrol[
        <!ENTITY smtpPort "25" >
]>

<cruisecontrol>
...

USAGE:

...
<email mailport=&smtpPort;

On Sep 14, 4:28 pm, Mark Nash <[email protected]> wrote:
> Hi
>
> I am running ver 1.6.7981.1 and am defining email notifications on a
> per project level. With 41 projects in CI, there is already a lot of
> repetition of data.
>
> Is it possible to define the email notification settings in 1 place
> only, and apply them to all projects. If not how about defining global
> varriables such as smtpPort in one place and reference the value in
> some way?
>
> Any help would be appreciated
>
> Thanks
>
> Mark

Reply via email to