Niels de Vos <nde...@redhat.com> wrote:

> I think the Jenkins client exports a GERRIT_BRANCH environment variable.

No. Here is the environment regression.sh sees. I guess we loose
valuable information because the su call:

BLOCKSIZE=1k
ENV=/root/.shrc
HOME=/root
HOST=nbslave7g.cloud.gluster.org
IFS=' 
'
LOGNAME=root
OPTIND=1
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/X11R7
/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/java/openjdk
7/bin:/build/install/sbin:/build/install/bin:/build/install/sbin:/build/
install/bin
PS1='# '
PS2='> '
PS4='+ '
PWD=/home/jenkins/root/workspace/rackspace-netbsd7-regression-triggered
SHELL=/bin/ksh
SU_FROM=jenkins
USER=root
_=/opt/qa/regression.sh

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
_______________________________________________
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel

Reply via email to