1

ビルドに失敗した場合や修正された場合に、ビルド後に電子メールを送信するたびに、CruiseControl.NETを設定して開発者に通知しようとしています。クルーズコントロールは常にメールを送信します

これは、私はCruiseControl.NET 1.6を使用している現在ccnet.config

<publishers> 
    <email mailhost="smtp.gmail.com" from="***@gmail.com" includeDetails="true" mailhostPassword="###" mailhostUsername="***" mailport="587" useSSL="TRUE"> 
    <users> 
     <user name="Developer" group="developers" address="%%%@hotmail.com" /> 
    </users> 
    <groups> 
     <group name="developers"> 
     <notifications> 
      <NotificationType>change</NotificationType> 
     </notifications> 
     </group> 
    </groups> 
    </email> 
</publishers> 

の私の出版社のセクションです。

ありがとうございます!
godwin

答えて

1

私は自分の電子メールをユーザとして持っていたので、これは起こっていたが、私は「変更者」だったので、CC.NETは私が開発者グループ私が修飾子だったからです。

私は、出版社に 'modiferNotificationTypes' セクションを追加することによって、これを解決:

<publishers> 
    <email mailhost="smtp.gmail.com" from="***@gmail.com" includeDetails="true" mailhostPassword="###" mailhostUsername="***" mailport="587" useSSL="TRUE"> 
    <users> 
     <user name="Godwin" group="developers" address="%%%@hotmail.com" /> 
    </users> 
    <groups> 
     <group name="developers"> 
     <notifications> 
      <notificationType>Failed</notificationType> 
      <notificationType>Fixed</notificationType> 
     </notifications> 
     </group> 
    </groups> 
    <modifierNotificationTypes> 
     <NotificationType>Failed</NotificationType> 
     <NotificationType>Fixed</NotificationType> 
    </modifierNotificationTypes> 
    </email> 
</publishers> 
関連する問題