[JIRA] [core] (JENKINS-16143) Jenkins escapes 2 dollar signs in the Parameterized Build fields

2016-06-07 Thread heilon...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kevin R. edited a comment on  JENKINS-16143 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Jenkins escapes 2 dollar signs in the Parameterized Build fields  
 
 
 
 
 
 
 
 
 
 same issue for me too. printing out the shell env ( {{ env }}  command) shows that the env var is automatically setting {{value$}}instead of{{value$$}} Jenkins 2.0, CentOS7 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [core] (JENKINS-16143) Jenkins escapes 2 dollar signs in the Parameterized Build fields

2016-06-07 Thread heilon...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kevin R. commented on  JENKINS-16143 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Jenkins escapes 2 dollar signs in the Parameterized Build fields  
 
 
 
 
 
 
 
 
 
 
same issue for me too. printing out the shell env (env command) shows that the env var is automatically setting  
value$ 
instead of 
value$$ 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [core] (JENKINS-16143) Jenkins escapes 2 dollar signs in the Parameterized Build fields

2015-02-12 Thread a.regen...@ftc.ru (JIRA)














































Andrey Regentov
 commented on  JENKINS-16143


Jenkins escapes 2 dollar signs in the Parameterized Build fields















Please tell me what should I do to: get the variable with text from TextBox "as is" (i.e. $$ as $$). 

I don't want to resolve variables inside build parameters, I just want to fill file with TextBox contents with something like this in "execute shell":


echo "$TextParameter"  file



And in the $TextParameter sometimes there are "$" signs which are to be preserved.



























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] [core] (JENKINS-16143) Jenkins escapes 2 dollar signs in the Parameterized Build fields

2015-02-12 Thread a.regen...@ftc.ru (JIRA)












































 
Andrey Regentov
 edited a comment on  JENKINS-16143


Jenkins escapes 2 dollar signs in the Parameterized Build fields
















Please tell me what should I do to: get the variable with text from TextBox "as is" (i.e. $$ as $$). 

I don't want to resolve variables inside build parameters, I just want to fill file with TextBox contents with something like this in "execute shell":


echo "$TextParameter"  file



And in the $TextParameter sometimes there are "$" and/or "$$" signs which are to be preserved.



























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] [core] (JENKINS-16143) Jenkins escapes 2 dollar signs in the Parameterized Build fields

2014-10-17 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 commented on  JENKINS-16143


Jenkins escapes 2 dollar signs in the Parameterized Build fields















This appears to not be a bug.

Compare the parameter values $JENKINS_URL and $$JENKINS_URL. Jenkins internally resolves placeholders in variables, and dollars are used for that. $$ is an escaped $.

I could offer better documentation though, as this behavior does not seem to be documented in the String Parameter's inline help, but should be.

WDYT?



























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] [core] (JENKINS-16143) Jenkins escapes 2 dollar signs in the Parameterized Build fields

2014-10-17 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 commented on  JENKINS-16143


Jenkins escapes 2 dollar signs in the Parameterized Build fields















Relevant Groovy system script (a build step added by Groovy plugin): 
def build = Thread.currentThread().executable
def tl = new hudson.util.LogTaskListener(java.util.logging.Logger.getLogger("foo"), java.util.logging.Level.INFO)
println build.getEnvironment(tl).get("STR1")
println build.getEnvironment(tl).get("STR2")




























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.