Hi All,
I'm trying to setup several Jenkins installations (1.478) to monitor
different branches of .NET code in TFS. I want to be able to set
variables/properties in the master config.xml, which the individual job
config.xml files can read.

e.g. path to branch in TFS

this way when I create a new branch I just need to change the property
value in the master config.xml and then I can install a new instance of
Jenkins somewhere and put this branched config file and job config files
and it will just work.

I've found 'Global Properties' in the 'Configure system' page. This adds
key value pairs, which are saved to config.xml file, but the jobs dont seem
to be able to use them

i.e. if I create a property called MIKE and then try to use it in the job
by using $MIKE or ${MIKE} it doesn't work as I expect. I've tried to echo
them from a windows batch command

I've also tried to print it from the script console using println.

What are global properties used for if not for this purpose??

Any help, alternative ideas appreciated. I've had a look through the
forums. I'll keep looking...

regards,
Mike

Reply via email to