I have a simple powershell script that simply runs the following:

Write-Output "myCommand myCommand -param $env:MyParameter"
myCommand -param $env:MyParameter

The first one writes out the command that is being executed below. The 
$env:MyParameter is expanded correctly with its value. However, the actual 
command that is executed on the next line, does not. The command myCommand 
gets the actual string that I pass, "$env:MyParameter."




-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/4735c49d-d1a5-4213-955e-d0774411a6ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to