The testBuild program is the fifth and final program executed in the normal call chain to build a tagged version of the various software packages managed by the Release Manager. 

When invoked, this program requires the --buildId flag to be specified with the buildId corresponding to a valid entry in the build database table.  Thus all invocations must be of the form:

finishBuild --buildId <buildID>

where <buildId> is the build package to be worked on.

The program starts by setting the stopTime field in the build table to the current time.  If there is no NotifyOwners configuration item in the settings table for this build, the program then exits.

If NotifyOwners exists and is true, the program then loops over each of the sub-packages and looks for any build or compile failures, if found the package and package authors are added to a list of people to be notified.  Once all the failures have been found, each author is e-mailed a message telling them:

  1. The build the e-mail is about
  2. Each package that had a failure for which they are listed as author
  3. The type of failure (Compile or Test)
  4. A link to the Release Manager web page for the build where they can view the compile or test output.

Note: copies of these e-mail are currently also sent to Tom for all packages and to Heather for GlastRelease packages

  • No labels