2009-07-07 1 views
0

チームビルドの達人の私は「関連チェンジ」リストを探しています VSTSチームビルドのメール通知は、デフォルトでは、我々はビルド通知などを取得し、</p> <p>が言う「associateChangeSets」

がビルドに含ま

メール通知を含める必要がありますこれは、

Team Project: Content Server 
Build Number: MerchantPortal_1.0.0707.69 
Build Agent: \Content Server\MerchantPortalBuildBox 
Build Definition: \Content Server\MerchantPortal QA 
Build started by: ENETDOM\jrichter 
Build Start Time: 7/7/2009 8:25:30 AM 
Build Finish Time: 7/7/2009 8:30:49 AM 

Notes: 
- All dates and times are shown in GMT -05:00:00 Central Daylight Time 
- You are receiving this notification because of a subscription created by ENETDOM\enbuild 
Provided by Microsoft Visual Studio® Team System 2008 

私が本当に欲しいのは変更を含むメールです。したがって、ユーザーは変更のリストを取得するためにURLをクリックする必要はありません。 だから... ...私の代わりにこのような何か見てメールします:

Team Project: Content Server 
Build Number: MerchantPortal_1.0.0707.69 
Build Agent: \Content Server\MerchantPortalBuildBox 
Build Definition: \Content Server\MerchantPortal QA 
Build started by: ENETDOM\enbuild 
Build Start Time: 7/7/2009 8:25:30 AM 
Build Finish Time: 7/7/2009 8:30:49 AM 


**Associated changesets: 
482 DOMAIN\johny Not needed... 
486 DOMAIN\adam A final synchronization with SourceSafe files after the 15 december release. 
487 DOMAIN\bob Corrected the naught millenium bug.... 
488 DOMAIN\sarah Reverted back to csproj file with SC changes.... 
Associated work items:** 
.... 


Notes: 
- All dates and times are shown in GMT -05:00:00 Central Daylight Time 
- You are receiving this notification because of a subscription created by ENETDOM\enbuild 
Provided by Microsoft Visual Studio® Team System 2008 

答えて

0

私はそのことを知っている何の設定オプションはありませんが、このことができます。

サーバーにアクセスできる場合は、カスタムコードを書いてサーバー上のイベントシステムに接続し、独自の電子メール形式を作成する方法があると思います。しかし、それは私が考える多くの仕事になります。

電子メールコンテンツをカスタマイズする方法がないことには、私はイライラします。

0

あなたが関連付けられているchangsetを取得するには、次のコードを使用することができます:あなたが聞くことができ

TeamFoundationServer tfs = TeamFoundationServerFactory.GetServer(TeamFoundationServerUrl); 
IBuildServer buildServer = (IBuildServer)tfs.GetService(typeof(IBuildServer)); 
IBuildDetail build = buildServer.GetAllBuildDetails(new Uri(BuildUri)); 

List<IChangesetSummary> assocChangesets = InformationNodeConverters.GetAssociatedChangesets(build); 

は、Webサービスを使用して構築し、eventXmlからBuildUriをお読みください。

関連する問題