Escape maybe?
“$\{blah\}”
On Mon, Sep 17, 2018 at 17:58 Bharath Kumar <[email protected]> wrote:
> 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} --??
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/e81aa2d7-d19f-4450-bf5d-262cb36f235e%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/e81aa2d7-d19f-4450-bf5d-262cb36f235e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9LartgZa0X7wBWYL0AHUu1C9YZU1CQQ4O4%2B8n3p4d6icw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.