Fragensteller
TFS build notifications extensibility

Frage
-
Is there a possibility to extend the email notifications the tfs system send out when a build has been finished?
Especially the informations about the unit test runs are really poor within the default notification.
For example, it would be nice to know the test run name which has failed tests inside, as usually we know it from the build log summary. By default, broken unit tests are just summarized under "other errors and warnings".
Second example regarding alerts in general: If you have a huge amount of defined alerts you won't be informed about which alert has triggered the notification - there's no information contained in the body or title of the notification related to the alert. No configuration.
I already did a search in the web and msdn about this poor tfs notification behavior, msdn holds nearly no documentation about it, just this site https://msdn.microsoft.com/de-de/library/bb552337.aspx
I think it would be possible to extend some things by editing the transform .xsl file(s), but without deeper knowledge I won't test this on our productive tfs.
Any help would be highly appreciated.
Alle Antworten
-
Hi Hast Du Dir mal das angeschaut?
Customize the format for TFS email alerts
--
Viele Grüsse
Peter Fleischer (MVP, Partner)
Meine Homepage mit Tipps und Tricks -
-
Hi,
entschuldige bitte, dass ich den Link i fremdsprachigen Text übersehen hatte:-)In den Xsl ist zu sehen, dass auf die Felder aus der Datenbank zugegriffen. Diese Namen kannst Du über den Processeditor in der Spalte "Ref Name" zu den WIT sehen. Welches Feld benötigst Du konkret?
--
Viele Grüsse
Peter Fleischer (MVP, Partner)
Meine Homepage mit Tipps und Tricks -
Ich benötige z.B. den Namen des Alerts von dem die jeweilige Notification erstellt wurde, oder auch Daten zum TestRun (Namen der Unit Test Runs) um einen ähnlichen Informationsgehalt wie in der Std.-Build-Summary zu bekommen.
Also keine WIT-Daten. Ich denke auch hier liegt das Problem.
-
Hi,
ich versuche mal, mich da zu informieren, da ich erst einmal ohne Test keine gesicherte Antwort weiß. Einfacher für Dich ist es aber vielleicht, wenn Du Dich direkt an die artiso solutions GmbH wendest. Sie haben enorm viel Erfahrung auf diesem Gebiet.--
Viele Grüsse
Peter Fleischer (MVP, Partner)
Meine Homepage mit Tipps und Tricks