Re: Build directly on machine vs. SSH to machine and start build

2012-05-08 Thread Eric Fetzer
Thanks Rob!  So here's what I'm seeing which doesn't make sense to me:   bash-3.2$ ssh buildUser@buildMachine [buildUser@buildMachine] /home/buildUser-> echo $HOSTNAME buildMachine [buildUser@buildMachine] /home/buildUser->     So $HOSTNAME IS already set.  Maybe that's not the issue.  Could it be

RE: Build directly on machine vs. SSH to machine and start build

2012-05-08 Thread Echlin, Robert
Hi Eric, Since builduser has bash as the default shell, you will be in the bash shell. You can do some testing. Remember that you can probably run ssh from the host. ssh -f builduser@buildMachine "echo Computername is set to: $COMPUTERNAME" I think the script is assuming that HOSTNAME is alread

Re: Build directly on machine vs. SSH to machine and start build

2012-05-08 Thread Eric Fetzer
Bash is this user's default shell. On May 8, 2012, at 9:41 AM, Eric Fetzer wrote: > Robert, > > Notice in my command: > ssh -f builduser@buildMachine ". ~/.bash_profile;cd /app/rosstr/build;/opt/apache-ant-1.7.1/bin/ant -f build.xml -Dfull.buildnumber=3.0.2.8 > > that I'm s

Set an env variable?

2012-05-08 Thread Dave Pawson
I know I can read an env variable, but is it possible to set one, for the duration of the ant script(s) please? TIA Dave -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk - To unsubscribe, e-mail: user-unsu

Re: Build directly on machine vs. SSH to machine and start build

2012-05-08 Thread Eric Fetzer
Robert, Notice in my command: >>> ssh -f builduser@buildMachine ". ~/.bash_profile;cd >>> /app/rosstr/build;/opt/apache-ant-1.7.1/bin/ant -f build.xml >>> -Dfull.buildnumber=3.0.2.8 that I'm sourcing my bash profile, which also runs .bashrc. Will this not switch me to the bash shell. I type

Property files when running Selenium/JUnit test cases

2012-05-08 Thread rohit dholakia
Hi, I am automating our build process at the startup I work at.I keep all my classes in user/nightlybuilds/build . and my xml file is at nightlybuilds itself . ( top level dir ). On the other hand, the property files that are needed are in their respective projects. I added the path to th

RE: Build directly on machine vs. SSH to machine and start build

2012-05-08 Thread Echlin, Robert
Hi Eric, In *nix shells, your shell will load one or more of several different startup files. Which one is loaded by bash depends on what type of a process you are running the script as. One file is run only when you are logging in (bash runs ".bash_profile", or, if it is not present, ".profile"