How to assign the agent name to a environment variable

Hi,

I want to assign the agent name to my own enviroment variable, how can i do this.

And how can i use the agent name in my ant script.

Regards,

5 comments
Comment actions Permalink

Try to add this as environment variable value: %system.agent.name%

--
Pavel Sher

0
Comment actions Permalink

I have done that but it is not filled in on execution time.

0
Comment actions Permalink

This is my ant script:

]]>

The result is that the agent name is not filed in.

0
Comment actions Permalink

In the Ant script you should not use prefix system: ${agent.name}

--
Pavel Sher

0
Comment actions Permalink

Thisworks, thanks

0

Please sign in to leave a comment.