; even if you are using other user account from jenkins (it may just work :) )
>
> Vivek.
>
>
>
> On Thu, Jun 26, 2014 at 4:33 PM, Rachit Kumar
> wrote:
>
>> Hello Richard,
>>
>> Modification:
>>
>> #!/bin/bash
>> /usr/local/MATLAB/R20
atlab or whether the matlab
> executable is)
>
> Richard.
>
>
> On Thu, Jun 26, 2014 at 9:59 PM, Rachit Kumar > wrote:
>
>> Frankly I am new to Jenkins and new to Linux environment as well!
>> How can I check what is th euserid jenkins is using and how do I set th
in from the terminal using the same
> userid that Jenkins runs under?
>
>
>
> *From:* Rachit Kumar [mailto:tihcar...@gmail.com ]
> *Sent:* 26 June 2014 10:30
> *To:* jenkins...@googlegroups.com
> *Subject:* Not able to run MATLAB execution using shell script.
>
Following is the shell script:
#!/bin/bash
matlab -nosplash -nodisplay -r
"InitFileName='model_init',VariableList={'motorspeed' 'motorpositions'
'voltage'},SimStart=0,SimEnd=20,ModelName='jenkins_test_model';jenkins_matlab"
This works fine when I execute it from Terminal, but throws following e