Change By: Kaaleppi Kekkola (07/Oct/14 12:18 PM)
Summary: Triggered build with Accessing  parameters  empties some parameters  of triggered build has strange syntax
Description: It seems that  accessing parameters with  build command 'Execute shell'  loses some parameter data  has strange syntax  when building with URL request and multiple parameters.

For example, when I trigger my build with URL:
http://server/job/myjob/buildWithParameters?token=TOKEN&PARA1=Value1&PARA2=Value2

and try to echo those parameters
, I need to use the following syntax :
echo $PARA1
echo $
PARA2 {para2}

only the first parameter is echoed correctly and the other one is blank. For example this alternative doesn't work:
echo ${para1}
echo $PARA2


This seems to be somewhat similar to this:
https://issues.jenkins-ci.org/browse/JENKINS-16639
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to