[JIRA] (JENKINS-62165) Space character at end of parameter name prevents dereferencing this parameter

2020-05-07 Thread 'db...@cloudbees.com (JIRA)' via Jenkins Issues
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck updated  JENKINS-62165  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-62165  
 
 
  Space character at end of parameter name prevents dereferencing this parameter   
 

  
 
 
 
 

 
Change By: 
 Daniel Beck  
 
 
Status: 
 Reopened Open  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.206095.1588690989000.23308.152020284%40Atlassian.JIRA.


[JIRA] (JENKINS-62165) Space character at end of parameter name prevents dereferencing this parameter

2020-05-06 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck commented on  JENKINS-62165  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Space character at end of parameter name prevents dereferencing this parameter   
 

  
 
 
 
 

 
 Good point. While there are environments in which this can be desirable, they're rather unusual. So a form validation warning that points out unusual parameter names (also e.g. including a period in the name) that may not work well for some use cases, would be helpful.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.206095.1588690989000.22437.1588757700239%40Atlassian.JIRA.


[JIRA] (JENKINS-62165) Space character at end of parameter name prevents dereferencing this parameter

2020-05-06 Thread sesa53...@se.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Firmware Tools SE reopened an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Okay, it seems I was misunderstood. Adding a space after the parameter name on purpose was just for the sake of the example. I spent quite some time figuring out some user had indeed mistakenly added a space behind a parameter name (probably a wrong copy/paste) in a weekly multijob (leading to failure of some parts of it). So my request is: could it be possible to add some control on whether a parameter name has trailing (or even leading) "invisible" characters (maybe a warning or an automatic trimming (who, in his right mind, would want a trailing space in a parameter name?)).    
 

  
 
 
 
 

 
 Jenkins /  JENKINS-62165  
 
 
  Space character at end of parameter name prevents dereferencing this parameter   
 

  
 
 
 
 

 
Change By: 
 Firmware Tools SE  
 
 
Resolution: 
 Not A Defect  
 
 
Status: 
 Closed Reopened  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 

[JIRA] (JENKINS-62165) Space character at end of parameter name prevents dereferencing this parameter

2020-05-05 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck closed an issue as Not A Defect  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Don't do that then.  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-62165  
 
 
  Space character at end of parameter name prevents dereferencing this parameter   
 

  
 
 
 
 

 
Change By: 
 Daniel Beck  
 
 
Status: 
 Open Closed  
 
 
Resolution: 
 Not A Defect  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit 

[JIRA] (JENKINS-62165) Space character at end of parameter name prevents dereferencing this parameter

2020-05-05 Thread sesa53...@se.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Firmware Tools SE created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-62165  
 
 
  Space character at end of parameter name prevents dereferencing this parameter   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 core  
 
 
Created: 
 2020-05-05 15:03  
 
 
Environment: 
 Jenkins LTS 2.222.3  Linux CentOS 7   
 
 
Priority: 
  Major  
 
 
Reporter: 
 Firmware Tools SE  
 

  
 
 
 
 

 
 When a space character is present at end of a parameter name, dereferencing this parameter name (without space) will display the string attemting the dereference (i.e. ${name}) instead of the value of this parameter.   Example of this problem: 
 
Create a job with a string parameter (e.g. "top_parameter"), but add a space at the end of the name like "top_parameter ", with a default value of anything (e.g. 42) 
use the parameter value, for example in a build step "Inject Environment variables" like : top_value=${top_parameter} 
use "top_value" environment variable (e.g. in a shell) ; its value will be the string "${top_parameter}" not 42