Re: Newbie question: How to configure Jenkins to use bash with rcfile?

2013-03-31 Thread Hua Ai
Hi Sami, Thank you for your reply! After reading the man page plus a couple of test scripts, the project compiles properly now just as if it was compiled locally without going through Jenkins. My blind spot, which caused most of confusions in the process, was that I didn't know the home direc

Re: 1.508 performance regression?

2013-03-31 Thread Christopher Orr
On 03/28/2013 06:27 PM, Russ Tremain wrote: At 2:14 PM +0100 3/28/13, Michaėl Pailloncy wrote: All pages are taking 60 seconds to load each time or just at certain times ? all pages, after initial boot until I shut it down. seemed to get worse over time. You can open a JIRA ticket with GC l

Re: Newbie question: How to configure Jenkins to use bash with rcfile?

2013-03-31 Thread Sami Tikka
If you run "man bash" or check the bash man page online, you will see in the section "FILES" where the initialization files are and when they are read. Also check the section "INVOCATION" for more information. -- Sami Hua Ai kirjoitti 30.3.2013 kello 18.32: > The bash shell is from cygwin, I

Re: Looking for good Linux bash script examples

2013-03-31 Thread Sami Tikka
It never ceases to amaze me how people refuse to make use of the exit code of unix commands to write readable shell scripts. So, instead of writing > make my_target > if [[ $? -ne 0 ]]; then > ret=1 > echo "Make has failed" >&2 > fi You could make it simpler: if ! make my_target; then