What about ${params.'deploy.dir'}
On Fri, Feb 8, 2019 at 12:59 PM Eric Fetzer <[email protected]> wrote:
> Second one is:
>
> /tmp/jenkins7135875844305012846.sh: line 2: deploy.dir: syntax error: invalid
> arithmetic operator (error token is ".dir")
>
>
> On Friday, February 8, 2019 at 10:25:17 AM UTC-7, Eric Fetzer wrote:
>>
>> So it works fine to use a variable like build.dir as a parameter in a
>> build trigger. I'm finding, however, that when I add it to a "execute
>> shell" command, it gets cut off at the ".". For example:
>>
>> Execute Shell:
>>
>> Command: ls -l $deploy.dir
>>
>> This tries to ls -l on .dir because $deploy is unset. I would very much
>> appreciate any help. I tried escaping the "." but that didn't work. I
>> tried putting quotes around the variable, no help. Any help would be
>> greatly appreciated!
>>
>> Thanks,
>> Eric
>>
> --
> 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/e44443d5-f48d-40e9-ad39-3d6a6014ff8b%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/e44443d5-f48d-40e9-ad39-3d6a6014ff8b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
Website: http://earl-of-code.com
--
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/CAPiUgVe-ROJTpbrutUtwR1pMcT0aEkc0qhwaAbOD%3D%3D%2Ba_D96_g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.