Changeset 704 for branches


Ignore:
Timestamp:
Oct 26, 2007 9:04:46 AM (12 years ago)
Author:
stefan
Message:

make info about svn release more visible in email

Location:
branches/testScripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/testScripts/NBbuildConfig.py

    r702 r704  
    242242        error_msg = result
    243243        error_msg['configure flags']=configOptions
     244        error_msg['project release']=configuration['svnVersion']
    244245        # Add contents of log file to message
    245246        logFileName = 'config.log'
     
    266267  if result['returnCode'] != 0 :
    267268    result['configure flags']=configOptions
     269    result['project release']=configuration['svnVersion']
    268270    NBemail.sendCmdMsgs(configuration['project'],result,'make')
    269271    return
     
    285287  if didMakeTestFail :
    286288    result['configure flags']=configOptions
     289    result['project release']=configuration['svnVersion']
    287290    result['make test']=didMakeTestFail
    288291    NBemail.sendCmdMsgs(configuration['project'],result,"make test")
     
    319322    if didUnitTestFail :
    320323      result['configure flags']=configOptions
     324      result['project release']=configuration['svnVersion']
    321325      result['unitTest']=didUnitTestFail
    322326      NBemail.sendCmdMsgs(p,result,unitTestCmd)
  • branches/testScripts/NBemail.py

    r702 r704  
    3535    toAddrs.append(unscrambledEmailAddress)
    3636
    37   subject = "NightlyBuild: problem with project "+project+" when running '" + cmd +"'"
     37  subject = "NightlyBuild: problem with project "+project
     38  if cmdMsgs.has_key('project release') :
     39    subject += " release "+cmdMsgs['project release']
     40  subject+=" when running '" + cmd +"'"
    3841
    3942  emailMsg = "Dear projectmanager,\n\n" \
    40    +"the nightly build tests scripts have recognized a failure when building project "+project+". The failing command was\n\n\t"+cmd+"\n\n" \
     43   +"the nightly build tests scripts have recognized a failure when building project "+project
     44  if cmdMsgs.has_key('project release') :
     45    emailMsg += " release "+cmdMsgs['project release']
     46  emailMsg += ". The failing command was\n\n\t"+cmd+"\n\n" \
    4147   +"Details on the problem can be found below.\n" \
    4248   +"You will also get a failure message if the build of your project failed because of problems with a depending projects (externals).\n" \
Note: See TracChangeset for help on using the changeset viewer.