Weird, what does the following print?
def lib_arch='linux-ubuntu-14.04-x86_64-gcc4.8.4'
echo lib_archecho ". /opt/setup.sh ${lib_arch}"
echo ". /opt/setup.sh $lib_arch"
2016-10-30 18:53 GMT+01:00 Nabil Ghodbane <[email protected]>:
> Hi,
> thanks for your "feedback'. Well, it runs well on a local command line...
> On the other hand, it seems there is a serious issue passing parameters to
> bash scripts from sh pipeline command
>
> On Sunday, October 30, 2016 at 2:17:06 AM UTC+2, Daniel Beck wrote:
>>
>>
>> > On 29.10.2016, at 23:12, Nabil Ghodbane <[email protected]> wrote:
>> >
>> > So how can I pass a parameter to my bash script in a Jenkins pipeline
>> script?
>>
>> You will find that this also doesn't work when you run it from a local
>> command line (a basic first troubleshooting step), so it is entirely
>> unrelated to Jenkins or Pipeline.
>>
>> --
> 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/537fa03f-d87e-4df6-bf23-68e5d9a82db5%40googlegroups.
> com
> <https://groups.google.com/d/msgid/jenkinsci-users/537fa03f-d87e-4df6-bf23-68e5d9a82db5%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/CANWgJS42U2%3DyHV9%2BMMf-Cs9G1e_P234Ff7R0bd7kdWKfCPe6sg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.