How do I send an email in CruiseControl.net that contains the svn commit messages and other details?

I’d like to email the results of the build along with:

  • svn revision(s) that are in the build
  • commit message(s) for those revisions
  • Other details like the location of where we ftp the resulting executables

Can anyone point me to resources to show how to do this with CC.Net?

  • jenkins + sonar + github integration
  • Copying an untracked folder to another branch
  • How do you run NUnit tests from Jenkins?
  • What is continuous integration?
  • Do you have to run test locally when you have a CI server?
  • How do show my tests passing/failing in Github?
  • I am able to get the standard email that is sent that contains a list of changes, but I see no way to modify the contents of the email. I don’t want to send multiple emails.

    It looks like I need to set xslFiles, but it is not clear to me how to do that or what they should look like.

  • how to compile code from svn into jar file?
  • SVN Setup Of Existing Directory
  • Is there anyway to import XCode snapshots into a new SVN repository?
  • SVN - Access to '/SVN//!svn/me' forbidden
  • Cannot find javahl, svnkit nor command line svn client
  • Prevent IntelliJ from adding iml files
  • 2 Solutions collect form web for “How do I send an email in CruiseControl.net that contains the svn commit messages and other details?”

    Each CC.NET project has a “publishers” section. One of the publishers can be “email”. Example follows:

    <publishers>
      <xmllogger ... />
      <buildpublisher>
        <sourceDir></sourceDir>
        <publishDir></publishDir>
        <useLabelSubDirectory>True</useLabelSubDirectory>
      </buildpublisher>
      <email from="buildmaster@mycompany.com" mailhost="mail.mycompany.com" mailhostPassword="..." mailhostUsername="buildmaster" includeDetails="True">
        <users>
          <user name="Petros Amiridis" address="amiridis@mycompany.com" group="buildmaster" />
        </users>
        <groups>
          <group name="developers" notification="Always" />
          <group name="buildmaster" notification="Always" />
          <group name="consultants" notification="Always" />
        </groups>
      </email>
    </publishers>
    

    This email contains the build label, the svn changeset and the commit message.

    You can learn more about the Email Publisher in the CruiseControl.NET documentation

    A lot of plain exec‘s I’m afraid. You would need to create a postbuild section and hook in a custom MSBuild or Nant task that wraps svn log and possibly the svn info command and parses it.

    Think of it this way, at least you have full control over what you’re doing, but if you’re looking for something out-of-the-box for this, I think you’re out of luck.

    Using the e-mail publisher won’t provide you with the commits that happened after the build.

    Git Baby is a git and github fan, let's start git clone.