source: branches/testScripts/NBuserConfig.py @ 624

Last change on this file since 624 was 622, checked in by kmartin, 13 years ago

upadte NBUserConfig.py script for Kipp paramaters

  • Property svn:executable set to *
File size: 3.3 KB
RevLine 
[614]1#! /usr/bin/env python
2
[618]3from socket import gethostname
4
[614]5#----------------------------------------------------------------------
6# This file contains variables that person running this scirpt
7# might need to change.
8#----------------------------------------------------------------------
9
[622]10print gethostname()
[614]11
12#----------------------------------------------------------------------
13# NIGHTLY_BUILD_ROOT_DIR:
14#   directory where code will be checked out and builds
15#   done. If the directory does not exist, it will be created.
16#----------------------------------------------------------------------
[618]17if gethostname()=='ubuntu' :
18  NIGHTLY_BUILD_ROOT_DIR = '/home/jp/COIN'
19elif gethostname()=='math01.watson.ibm.com' :
20  NIGHTLY_BUILD_ROOT_DIR = '/u/jpfasano/COIN/nbTest'
21else :
[622]22  NIGHTLY_BUILD_ROOT_DIR = '/Users/kmartin/COIN'
[618]23 
[614]24
25#----------------------------------------------------------------------
26# Values for sending mail:
27#  SMTP_SERVER_NAME: name of smtp server. For gmail server
28#                 this is smtp.gmail.com
29#  SMTP_SERVER_PORT: port number of the smtp server. This is typically 25,
30#                 but for gmail server it is 587.
31#  SMTP_SSL_SERVER: 0 or 1. If 1 then SMTP uses SSL (sometimes called startltls).
32#                 For gmail this is 1.
33#  SMTP_USER_NAME: name of authorized user on server. If using gmail server
34#                 this is gmail_userid@gmail.com which is coded as
35#                 'gmail_userid _AT_ gmail _DOT_ com. 
36#  SMTP_PASSWORD_FILENAME: name of file containing smtp user's password
37#  SENDER_EMAIL_ADDR: email sent by this script will be from this address
38#  MY_EMAIL_ADDR: All problems detected by the script will be sent to
39#                 this email address. The intention is for this to be
40#                 the email address of the person running this script
41#  SEND_MAIL_TO_PROJECT_MANAGER: 0 or 1. If 1 then any problems
42#                 detected are sent to MY_EMAIL_ADDRESS and the
43#                 project manager.
44#----------------------------------------------------------------------
[618]45if gethostname()=='ubuntu' or gethostname()=='math01.watson.ibm.com':
46  #SMTP_SERVER_NAME = 'outgoing.verizon.net'
47  #SMTP_SERVER_PORT = 25
48  #SMTP_SSL_SERVER = 0
49  #SMTP_USER_NAME = 'jpfasano'
[614]50
[618]51  SMTP_SERVER_NAME = 'smtp.gmail.com'
52  SMTP_SERVER_PORT = 587
53  SMTP_SSL_SERVER = 1
54  SMTP_USER_NAME = 'jpfasano _AT_ gmail _DOT_ com'
55  if gethostname()=='ubuntu' :
56    SMTP_PASSWORD_FILENAME = '/home/jp/bin/smtpPwFile'
57  else :
[619]58    SMTP_PASSWORD_FILENAME = '/u/jpfasano/COIN/bin/smtpPwFile'
[614]59
[618]60  SENDER_EMAIL_ADDR='jpfasano _AT_ verizon _DOT_ net'
61  MY_EMAIL_ADDR='jpfasano _AT_ us _DOT_ ibm _DOT_ com'
62  SEND_MAIL_TO_PROJECT_MANAGER=0
63else :
[622]64  SMTP_SERVER_NAME = 'gsbims.uchicago.edu'
65  SMTP_SERVER_PORT =587
[618]66  SMTP_SSL_SERVER = 0
[622]67  SMTP_USER_NAME = 'kmartin'
68  SMTP_PASSWORD_FILENAME = '/Users/kmartin/passwd'
[614]69
[622]70  SENDER_EMAIL_ADDR='kipp _DOT_ martin _AT_ chicagogsb _DOT_ edu'
71  MY_EMAIL_ADDR='kipp _DOT_ martin _AT_ chicagogsb _DOT_ edu'
[618]72  SEND_MAIL_TO_PROJECT_MANAGER=0
[614]73
[618]74
[614]75#----------------------------------------------------------------------
76# List of Projects to be processed by script
77#----------------------------------------------------------------------
78PROJECTS = ['CoinUtils','DyLP','Clp','SYMPHONY','Vol','Osi','Cgl','Cbc','Ipopt','OS','CppAD']
[622]79PROJECTS = ['CppAD']
[614]80
81
Note: See TracBrowser for help on using the repository browser.