[JIRA] [groovy] (JENKINS-24870) / in script parameters becomes \ (Regression in 1.21)

2014-09-29 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-24870


/ in script parameters becomes \ (Regression in 1.21)















Code changed in jenkins
User: Vojtech Juranek
Path:
 src/main/java/hudson/plugins/groovy/Groovy.java
 src/test/java/hudson/plugins/groovy/PluginTest.java
http://jenkins-ci.org/commit/groovy-plugin/a5512cc32f111adb15724ea86644824a3e92
Log:
  FIXED JENKINS-24870 Use placeholder for executable when parsing parameters





























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.


[JIRA] [groovy] (JENKINS-24870) / in script parameters becomes \ (Regression in 1.21)

2014-09-29 Thread scm_issue_l...@java.net (JIRA)















































SCM/JIRA link daemon
 resolved  JENKINS-24870 as Fixed


/ in script parameters becomes \ (Regression in 1.21)
















Change By:


SCM/JIRA link daemon
(29/Sep/14 7:46 PM)




Status:


Open
Resolved





Resolution:


Fixed



























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.


[JIRA] [groovy] (JENKINS-24870) / in script parameters becomes \ (Regression in 1.21)

2014-09-25 Thread candr...@integralblue.com (JIRA)














































candrews
 created  JENKINS-24870


/ in script parameters becomes \ (Regression in 1.21)















Issue Type:


Bug



Assignee:


vjuranek



Attachments:


groovy-forwardslash-becomes-backslash.png



Components:


groovy



Created:


25/Sep/14 8:17 PM



Description:


This works fine in 1.20 but not in 1.21. I'm betting it's a regression due to changes made for JENKINS-24757.

Set the script parameters to a value with a "/" in it. Then run the job, and in the logs you'll see the parameter has it's "/"s changed into "\"s which causes problems.

For example, set the script parameter to as show in the attached screenshot groovy-forwardslash-becomes-backslash.png:

https://mfds1apf22:9443/pagetemplates/index


and you'll get output like this in the job console:

[workspace] $ C:\jenkins\tools\hudson.plugins.groovy.GroovyInstallation\Groovy_latest_\bin\groovy.bat C:\jenkins\jobs\deploy-marketing-to-FIT2\workspace\deploy\waitForUrl.groovy https:\\mfds1apf22:9443\pagetemplates\index

Caught: java.lang.IllegalArgumentException: protocol = https host = null
java.lang.IllegalArgumentException: protocol = https host = null
	at waitForUrl.run(waitForUrl.groovy:59)
Build step 'Execute Groovy script' marked build as failure






Environment:


Windows 7, Jenkins 1.581, Java 8u20




Project:


Jenkins



Priority:


Critical



Reporter:


candrews

























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.