Hello,

I tried your patch.
I agree with you about ExcetuionPolicy ByPass.
But for the exit code, I do not think this is a good solution. When a script is executed, it should be fully executed and not stop on the first error (as batch files). To stop a script, you must use "exit 1" and so fail the build.
I found a better solution fot the exit code (the same than "Execute Windows batch command").

I created a pull request with my changes.

Damien

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to