CCNET build notification mails

101 views
Skip to first unread message

santhosh yalamuri

unread,
Sep 11, 2012, 6:47:58 AM9/11/12
to ccnet...@googlegroups.com
Hi,

       I use the following xml entries in order to send email after the build completion:

 <publishers>

      <email from="sam...@mycompany.com"
             mailhost="sendmtw.mycompany.com"
             mailport="25"
             includeDetails="TRUE">
        <users>
          <user name="BuildGuru"
                group="buildmaster"
                address="sample1@ mycompany .com"/>
          <user name="Developer"
                group="developers"
                address="sam...@mycompany.com"/>
        </users>
        <groups>
          
        

        <group name="developers">
          <notifications>
            <notificationType>Always</notificationType>
          </notifications>
        </group>

          <group name="buildmaster">
            <notifications>
              <notificationType>Always</notificationType>
            </notifications>
          </group>

        </groups>
      </email>
    </publishers>

  </project>

The above entries gets a green signal from CCNET Validator.

But when the build is triggered, it gets stuck.

Can anybody let me know what the problem is.

Thanks,
Santhosh




Ruben Willems

unread,
Sep 11, 2012, 7:09:28 AM9/11/12
to ccnet...@googlegroups.com
Hi

what do you mean with 'stuck'?
is there an error ?
if so can you provide it

with kind regards
Ruben Willems

santhosh yalamuri

unread,
Sep 11, 2012, 11:24:57 PM9/11/12
to ccnet...@googlegroups.com
When i try to force the build, it does not start execution,it does not show any build progress information. Eventually i need to stop the build.

If the email publisher part is commented out in ccnet.config file then it works fine.

Thanks,
Santhosh

Ruben Willems

unread,
Sep 12, 2012, 4:08:50 AM9/12/12
to ccnet...@googlegroups.com
Hi

is the emailer in the tasks or in the publisher section?


with kind regards
Ruben Willems

santhosh yalamuri

unread,
Sep 12, 2012, 4:12:00 AM9/12/12
to ccnet...@googlegroups.com
It is under publishers section, after this i have my tasks section


On Tuesday, 11 September 2012 16:17:58 UTC+5:30, santhosh yalamuri wrote:

Ruben Willems

unread,
Sep 12, 2012, 4:22:01 AM9/12/12
to ccnet...@googlegroups.com
can you provide me the ccnet config?
you may change user userid and the like


with kind regards
Ruben Willems

santhosh yalamuri

unread,
Sep 14, 2012, 2:18:55 AM9/14/12
to ccnet...@googlegroups.com
Hi,

       This problem was resolved after i added the following under publishers:  .
     
     <statistics />
      <xmllogger />

Thanks, 
Santhosh

suresh...@gmail.com

unread,
Mar 24, 2016, 8:00:30 AM3/24/16
to ccnet-user
Hi Santhosh,

 could you please provide the build email notification script in CCNET.config file for .net project.

 it would be helpful for my builds.

Regards
Suresh
Reply all
Reply to author
Forward
0 new messages