How to pass the parameter value as ${string} in Jenkins

17 views
Skip to first unread message

Bharath Kumar

unread,
Sep 17, 2018, 6:58:34 PM9/17/18
to Jenkins Users
How to pass the parameter value as ${string}.

I am trying to pass a parameter value as ${example} and trying to redirect the same into a property file. expected output:
property1=${example}

looks like jenkins is trying to replace the value for example so it's returning blank.
property1=

so how do I take the exact property value as ${example} --??

Jan Monterrubio

unread,
Sep 17, 2018, 8:36:14 PM9/17/18
to jenkins...@googlegroups.com
Escape maybe? 
“$\{blah\}”

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e81aa2d7-d19f-4450-bf5d-262cb36f235e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages