source: branches/testScripts/NBuserConfig.py @ 619

Last change on this file since 619 was 619, checked in by jpfasano, 13 years ago

Fixed typo

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