Sending Mail Options

Hi All,

I have assigned a task . The objective of task  is to send an email to an  individual person  when a build fails based on UserID of the

person who is responsible for build failure. I am not sure how to get email ID using UserId from TFS History.  We will get the UseriD's from TFS History.  Please tell me how to get email Id based on the UserId in FinalBuilder 7.  Appreciate your help!!!

I have another option there is a  aspx page where we get the Email Id by giving UserID as input.  Can we go forward using this option in final builder   is there any way we can convert UserId to EmailId in Xml or any other format?

Please  help me on this.

 

Hi

FinalBuilder has no way to know the email address of a version control user. You could use an ini file with the user/email mappings and look up the email address based on this.

A better option would be to take a look at Continua CI (currently in beta), as it has the ability to configure version control to continua CI user mappings and then send emails accordingly.

  1. create a .txt file, add email ID’s.
    2. Add “Send Email” action in final builder.
    3. Here, edit the “Send Email” properties, where you can call .txt path.

    This will send mail.

    If you want to create a job were you wanted to know which guy is resposible for failure. I guess you gotta create table based on indivual task your team works on.

    o/p:
    %Error%
    XYZ Log


    Such that one can click on hyperlink and figure out whats wrong.

    Hope this helps.