Nitpicking, I would argue it is not a "restriction" but a feature.
BTW this is a common behaviour: exactly the same exists in shell for
instance, and I'm sure in other languages.

A feature because it's nice to not always have to add antislashes for
parameters/variables you don't want resolved by the pipeline code itself.

Le 4 janv. 2017 9:56 PM, "David Karr" <davidmichaelk...@gmail.com> a écrit :

On Tue, Jan 3, 2017 at 10:46 PM, Dan Tran <dant...@gmail.com> wrote:
> false alarm again, i need to double quote.  Not sure if this is intended
>
>   git url: "${params.gitUrl}", branch: "${params.branch}"

That's a Groovy restriction.  A single-quoted string is only a
"string", but a double-quoted string is a "gstring", which does
parameter interpolation.

--
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/jenkinsci-users/CAA5t8VoVWXOKxhJyJCsh7gqC2bvoT
xyZF117WAjp9-9LJBbybw%40mail.gmail.com.
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS493Sw-%2B4V_QfXxNo2TBme1VBU26xhM%3DOQy2pNxqRxtRw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to