BuildReport Properties

TFS Build Extensions

Collapse imageExpand ImageCopy imageCopyHover image

The BuildReport type exposes the following members.

Properties

  NameDescription
Public propertyAction
Specifies the action to perform
Public propertyAssociatedChangesets
Sets the changesets associated with the build
Public propertyAttachments
An Item Collection of full paths of files to attach to the email.
Public propertyEmailReport
Sets whether to email the report. Default is false
Public propertyEnableSsl
Sets whether to EnableSsl
Public propertyFilePath
Sets the Build Report file path. Defaults to the build DropLocation
Public propertyFormat
Sets the format of the email. Default is Text
Public propertyMailFrom
The email address to send the email from.
Public propertyMailTo
Sets the Item Collection of email address to send the email to.
Public propertyPort
Sets the port to use. Ignored if not specified.
Public propertyPriority
The priority of the email. Default is Normal
Public propertyReportFileName
Sets the Build Report file name. Defaults to BuildReport.txt
Public propertySkipFiles
Sets whether to skip the reporting of all files in the DropLocation. Default is false;
Public propertySmtpServer
The SMTP server to use to send the email.
Public propertySubject
The subject of the email. Defaults to "Build Report: BUILDNAME (BUILDNUMBER)"
Public propertyUseDefaultCredentials
Gets or sets a Boolean value that controls whether the DefaultCredentials are sent with requests. DefaultCredentials represents the system credentials for the current security context in which the application is running. Default is true.

If UserName and UserPassword is supplied, this is set to false. If UserName and UserPassword are not supplied and this is set to false then mail is sent to the server anonymously.

If you provide credentials for basic authentication, they are sent to the server in clear text. This can present a security issue because your credentials can be seen, and then used by others.

Public propertyUserName
Sets the UserName if SmtpClient requires credentials
Public propertyUserPassword
Sets the UserPassword if SmtpClient requires credentials
Public propertyXslTransformFile
Sets the Xsl File to transform the Xml report. An embbeded Xsl file is used by default.

See Also