Changeset 704
- Timestamp:
- Oct 26, 2007 9:04:46 AM (13 years ago)
- Location:
- branches/testScripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/testScripts/NBbuildConfig.py
r702 r704 242 242 error_msg = result 243 243 error_msg['configure flags']=configOptions 244 error_msg['project release']=configuration['svnVersion'] 244 245 # Add contents of log file to message 245 246 logFileName = 'config.log' … … 266 267 if result['returnCode'] != 0 : 267 268 result['configure flags']=configOptions 269 result['project release']=configuration['svnVersion'] 268 270 NBemail.sendCmdMsgs(configuration['project'],result,'make') 269 271 return … … 285 287 if didMakeTestFail : 286 288 result['configure flags']=configOptions 289 result['project release']=configuration['svnVersion'] 287 290 result['make test']=didMakeTestFail 288 291 NBemail.sendCmdMsgs(configuration['project'],result,"make test") … … 319 322 if didUnitTestFail : 320 323 result['configure flags']=configOptions 324 result['project release']=configuration['svnVersion'] 321 325 result['unitTest']=didUnitTestFail 322 326 NBemail.sendCmdMsgs(p,result,unitTestCmd) -
branches/testScripts/NBemail.py
r702 r704 35 35 toAddrs.append(unscrambledEmailAddress) 36 36 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 +"'" 38 41 39 42 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" \ 41 47 +"Details on the problem can be found below.\n" \ 42 48 +"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.