Daniel,
I can run the exact same batch file passing it the same parameters from a CMD window on the same build system and it works with double quotes.
In Jenkins when I put in D:\scripts\batch.bat d:\somepath to a file\file.blh d:\someother path\foo.bar and put double quotes around each param, so D:\scripts\batch.bat "d:\somepath to a file\file.blh" "d:\someother path\foo.bar"
it will fail. I even tried double quotes around the script itself. Do the same thing in CMD window on the same system, it works.

You mentioned Jenkins saves the batch files to a temp file, I did know that but they get deleted to quickly for me to see them. Is there a way to turn off the delete part?

Thanks.

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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to