On Tuesday, July 16, 2013 9:19:26 AM UTC-7, JonathanRRogers wrote:

> So you were able to run "
>
> curl 
> https://raw.github.com/appium/appium/master/sample-code/examples/node/simplest.js";
>  interactively on the same host?
>
>
Yes. I'm using my local machine as a slave, and everything in my script 
works when I run it myself.

Exactly which scripts are executed on startup depends on the shell and the 
> options it was invoked with.  As you can see, Jenkins is invoking "/bin/sh 
> -xe". You should check whether /bin/sh is Bash or something else. If it is 
> Bash, consult the manual to see exactly what those options mean and what 
> happens at startup:
>
> <URL:http://www.gnu.org/software/bash/manual/bashref.html#The-Set-Builtin>
> <URL:
> http://www.gnu.org/software/bash/manual/bashref.html#Bash-Startup-Files>
>
> If it is Bash, no startup files are read because it is executed as the 
> name "sh" non-interactively. This is a good thing because it makes it 
> easier to control the environment separately from interactive logins. I use 
> a script just for setting build-related environment variables which I 
> source within the scripts in Jenkins jobs rather than ~/.bash_profile.
>

I see! Thanks for the info - that makes more sense now.

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to