[ 
https://issues.jenkins-ci.org/browse/JENKINS-12365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

domi resolved JENKINS-12365.
----------------------------

    Resolution: Fixed

Version 1.0 contains now contains support for Windows Batch.
                
> Add support for managed .bat scripts for Windows
> ------------------------------------------------
>
>                 Key: JENKINS-12365
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12365
>             Project: Jenkins
>          Issue Type: New Feature
>          Components: managed-scripts
>            Reporter: Garen Parham
>            Assignee: domi
>
> For Windows platforms, even if I specify a "custom script", the plugin 
> attempts to execute 'sh' with a path to my .bat file, which fails like so:
> {noformat}
> java.io.IOException: Cannot run program "sh" (in directory "C:\Program Files 
> (x86)\Jenkins\jobs\echo_test\workspace"): CreateProcess error=2, The system 
> cannot find the file specified
> {noformat}
> If the plugin simply added another category for Windows Batch scripts, the 
> plugin could instead execute "cmd /c call <path/to/file.bat>".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to