1

저는 빌드가 실패하거나 수정 될 때마다 개발자에게 알리기 위해 CruiseControl.NET을 설정하려고하지만 모든 빌드 후에 이메일을 보냅니다.크루즈 컨트롤이 항상 이메일을 보냅니다.

이 현재을 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> 

내가 CruiseControl.NET 1.6을 사용하고 내 게시자 섹션입니다.

감사합니다.
godwin

답변

1

좋아, 사용자로서 이메일을 보냈지 만 '수정 자'였기 때문에 CC.NET에서 개발자 그룹에 있었기 때문에 이메일을 보내지 않았습니다. ,하지만 내가 수정 자이기 때문에.

<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> 
:

나는 출판사에 'modiferNotificationTypes'섹션을 추가하여이 문제를 해결