Changeset 670 for branches


Ignore:
Timestamp:
Oct 23, 2007 9:43:58 AM (12 years ago)
Author:
jpfasano
Message:

Moved my stuff to new config file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/testScripts/NBuserConfig.py

    r669 r670  
    1313#----------------------------------------------------------------------
    1414NIGHTLY_BUILD_ROOT_DIR = 'xxx'
    15 if gethostname()=='ubuntu' :
    16   NIGHTLY_BUILD_ROOT_DIR = '/home/jp/COIN'
    17 elif gethostname()=='math01.watson.ibm.com' :
    18   NIGHTLY_BUILD_ROOT_DIR = '/u/jpfasano/COIN/nbTest'
    19 elif gethostname()=='JPF4' :
    20   NIGHTLY_BUILD_ROOT_DIR = 'd:/nbTest'
     15
    2116
    2217#----------------------------------------------------------------------
     
    3934#----------------------------------------------------------------------
    4035SVNPATH_PREFIX=''
    41 if gethostname()=='math01.watson.ibm.com' :
    42   SVNPATH_PREFIX='/gsa/yktgsa/projects/o/oslos/local/bin'
    43 elif gethostname()=='JPF4' :
    44   SVNPATH_PREFIX = ''
     36
    4537
    4638 
     
    7668MY_EMAIL_ADDR='xxx _AT_ yyyy _DOT_ edu'
    7769SEND_MAIL_TO_PROJECT_MANAGER=0
    78 if gethostname()=='ubuntu' or \
    79    gethostname()=='math01.watson.ibm.com' or\
    80    gethostname()=='JPF4' :
    81   #SMTP_SERVER_NAME = 'outgoing.verizon.net'
    82   #SMTP_SERVER_PORT = 25
    83   #SMTP_SSL_SERVER = 0
    84   #SMTP_USER_NAME = 'jpfasano'
    8570
    86   SMTP_SERVER_NAME = 'smtp.gmail.com'
    87   SMTP_SERVER_PORT = 587
    88   SMTP_SSL_SERVER = 1
    89   SMTP_USER_NAME = 'jpfasano _AT_ gmail _DOT_ com'
    90   if gethostname()=='ubuntu' :
    91     SMTP_PASSWORD_FILENAME = '/home/jp/bin/smtpPwFile'
    92   elif gethostname()=='math01.watson.ibm.com' :
    93     SMTP_PASSWORD_FILENAME = '/u/jpfasano/COIN/bin/smtpPwFile'
    94   else :
    95     SMTP_PASSWORD_FILENAME = 'c:\smtpPwFile.txt'
    96 
    97   SENDER_EMAIL_ADDR='jpfasano _AT_ verizon _DOT_ net'
    98   MY_EMAIL_ADDR='jpfasano _AT_ us _DOT_ ibm _DOT_ com'
    99   SEND_MAIL_TO_PROJECT_MANAGER=0
    10071
    10172
     
    11081#----------------------------------------------------------------------
    11182DOWNLOAD_3RD_PARTY=0
    112 if gethostname()=='ubuntu' :
    113   DOWNLOAD_3RD_PARTY=1
    114 elif gethostname()=='math01.watson.ibm.com' :
    115   DOWNLOAD_3RD_PARTY=1
    116 elif gethostname()=='JPF4' :
    117   DOWNLOAD_3RD_PARTY=1
     83
    11884
    11985
     
    158124#NEW PARAMETER SETTINGS:
    159125
    160 
    161 # NIGHTLY_BUILD_ROOT_DIR = userParameters.data['NIGHTLY_BUILD_ROOT_DIR']
    162 # SMTP_SERVER_NAME = userParameters.data['SMTP_SERVER_NAME']
    163 # SMTP_SERVER_PORT = userParameters.data['SMTP_SERVER_PORT']
    164 # SMTP_SSL_SERVER = userParameters.data['SMTP_SSL_SERVER']
    165 # SMTP_USER_NAME = userParameters.data['SMTP_USER_NAME']
    166 # SMTP_PASSWORD_FILENAME = userParameters.data['SMTP_PASSWORD_FILENAME']
    167 # SENDER_EMAIL_ADDR = userParameters.data['SENDER_EMAIL_ADDR']
    168 # MY_EMAIL_ADDR =  userParameters.data['MY_EMAIL_ADDR']
    169 # SEND_MAIL_TO_PROJECT_MANAGER = userParameters.data['SEND_MAIL_TO_PROJECT_MANAGER']
    170 # SVNPATH_PREFIX = userParameters.data['SVNPATH_PREFIX']
    171 # DOWNLOAD_3RD_PARTY = userParameters.data['DOWNLOAD_3RD_PARTY']
    172 # CONFIGURE_FLAGS = userParameters.data['CONFIGURE_FLAGS']
    173 # LOGFILE = userParameters.data['LOGFILE']
    174 # LOGPRINT = userParameters.data['LOGPRINT']
     126NIGHTLY_BUILD_ROOT_DIR = userParameters.data['NIGHTLY_BUILD_ROOT_DIR']
     127SMTP_SERVER_NAME = userParameters.data['SMTP_SERVER_NAME']
     128SMTP_SERVER_PORT = userParameters.data['SMTP_SERVER_PORT']
     129SMTP_SSL_SERVER = userParameters.data['SMTP_SSL_SERVER']
     130SMTP_USER_NAME = userParameters.data['SMTP_USER_NAME']
     131SMTP_PASSWORD_FILENAME = userParameters.data['SMTP_PASSWORD_FILENAME']
     132SENDER_EMAIL_ADDR = userParameters.data['SENDER_EMAIL_ADDR']
     133MY_EMAIL_ADDR =  userParameters.data['MY_EMAIL_ADDR']
     134SEND_MAIL_TO_PROJECT_MANAGER = userParameters.data['SEND_MAIL_TO_PROJECT_MANAGER']
     135SVNPATH_PREFIX = userParameters.data['SVNPATH_PREFIX']
     136DOWNLOAD_3RD_PARTY = userParameters.data['DOWNLOAD_3RD_PARTY']
     137CONFIGURE_FLAGS = userParameters.data['CONFIGURE_FLAGS']
     138LOGFILE = userParameters.data['LOGFILE']
     139LOGPRINT = userParameters.data['LOGPRINT']
Note: See TracChangeset for help on using the changeset viewer.