Created "Managed powershell" script using "Managed files" plugin. Which
contained
$env:Path.split(";")
Created freestyle project, to run the script.
The result showed the exact same result, as doing this on the command line,
with the exception of the last item. Which happened to be the one for Git.
Update the value for PATH by moving the entry for Git, so it wasn't last.
Had to kill the window in which the agent.jar was started, and start it in
a new one, to get the new Path value.
Then the freestyle project returned the exact same value for Path.
Something about how the Git installer updated the value for Path, was
wrong/not liked.
--
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/40791513-14b3-4812-9d2a-4552e25d887c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.