[JIRA] [rake] (JENKINS-18822) Unable to use default rake on Windows with certain JREs

2013-07-18 Thread odagen...@jsitelecom.com (JIRA)














































Olivier Dagenais
 created  JENKINS-18822


Unable to use default rake on Windows with certain JREs















Issue Type:


Bug



Affects Versions:


current



Assignee:


Olivier Dagenais



Components:


rake



Created:


18/Jul/13 2:24 PM



Description:


Create a job with a rake step that is to use the default rake installation and then run the job on a Windows agent that has one of the affected JREs in use.  The job will fail with:


[workspace] $ rake.bat
'"C:\path\to\Jenkins\jobs\jobName\workspace\ruby.exe"' is not recognized as an internal or external command,
operable program or batch file.
Build step 'Invoke Rake' marked build as failure


This appears to be caused by JDK-8016721 : (process) Behavior of %~dp0 in .cmd and .bat scripts has changed whereby affected JRE versions try to create a sub-process with:

cmd  /c ""rake.bat""

...instead of:

cmd  /c rake.bat

...as previous versions of the JRE used to.

When configuring a non-default rake installation, the path to the batch file will be absolute and this seems to not break rake.bat.




Environment:


JRE 1.7.21 - JRE 1.7.25 on Windows




Project:


Jenkins



Labels:


windows
plugin




Priority:


Minor



Reporter:


Olivier Dagenais

























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/groups/opt_out.




[JIRA] [rake] (JENKINS-18822) Unable to use default rake on Windows with certain JREs

2013-07-18 Thread odagen...@jsitelecom.com (JIRA)














































Olivier Dagenais
 started work on  JENKINS-18822


Unable to use default rake on Windows with certain JREs
















Change By:


Olivier Dagenais
(18/Jul/13 2:25 PM)




Status:


Open
InProgress



























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/groups/opt_out.




[JIRA] [rake] (JENKINS-18822) Unable to use default rake on Windows with certain JREs

2013-07-18 Thread odagen...@jsitelecom.com (JIRA)














































Olivier Dagenais
 stopped work on  JENKINS-18822


Unable to use default rake on Windows with certain JREs
















Change By:


Olivier Dagenais
(18/Jul/13 8:45 PM)




Status:


InProgress
Open



























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/groups/opt_out.




[JIRA] [rake] (JENKINS-18822) Unable to use default rake on Windows with certain JREs

2013-07-18 Thread odagen...@jsitelecom.com (JIRA)














































Olivier Dagenais
 commented on  JENKINS-18822


Unable to use default rake on Windows with certain JREs















I have submitted pull request #13 to fix this issue.



























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/groups/opt_out.