You seem to have found a workaround, and not 100% thiis is what you did,
but if these are environment variables with dots in it, you should remove
them.

It's unsupported by most if not all shells.
For instance, for bash see https://unix.stackexchange.com/a/23660/143243

So, you might have *worked around* it, but it will most likely bite again
:).

Cheers

Le ven. 8 févr. 2019 à 21:55, Eric Fetzer <eric.fet...@gmail.com> a écrit :

> That there is some crazy stuff Eric, but it worked, lol:
>
> [OIS-Client] $ /bin/sh -xe /tmp/jenkins1618762877704683861.sh
> ++ grep 'deploy\.dir='
> ++ cut -d = -f 2
> ++ env
> + depdir=/deploy
> + echo 'deploy.dir == /deploy'
> deploy.dir == /deploy
>
>
> I can work that into this and avoid using an ant script or rewriting 15 
> different jobs, THANKS!!!
>
>
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/aa6cfbc0-2ae0-4b8c-b309-c131ba7cd01f%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/aa6cfbc0-2ae0-4b8c-b309-c131ba7cd01f%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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS7q1Ev71qpBhzQ8PHGHf4Oxi_5B%3D-Qkxb8mi0bhoPEH5A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to