Neutron Continous Integration scrips

I assume that if any of these env vars are missing the Jenkins server isn't setup correctly.  So I think we should check that they are there.  os.environ.get("") returns "None" when the env var is missing, so unless you're checking for None before using a missing var it will crash later on.  You could set a default value with os.getenv('BASE_LOG_PATH', '/var/logs') but I don't think that is what you want.  I would access the os.environ directly and catch the KeyError if one is missing something like.

try:
 BASE_LOG_PATH = os.environ['BASE_LOG_PATH']
 ZUUL_PIPELINE = os.environ['ZUUL_PIPELINE']
   ... all the other envs
 except  KeyError, e:
   print  "Jenkins server setup problem" 
   print  'Missing env var:  "%s" '  % str(e)