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

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

--
Pavel Sher

0

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

0

This is my ant script:

]]>

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

0

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

--
Pavel Sher

0

Please sign in to leave a comment.