Re: Htmlemail-publisher and ignore-tag

Henrik Hald Nørgaard <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Here is a section of the cruisecontrol xml log for a build after a commit by
jobxx@lion:
 
<?xml version="1.0" encoding="UTF-8"?>
<cruisecontrol>
  <modifications>
    <modification type="git">
      <file action="modified">
      ...
      </file>
      <date>2009-05-13T08:17:46</date>
      <user>jobxx@lion</user>
      <comment><![CDATA[Updated layout npinvestor]]></comment>
      <revision>1242202666</revision>
      <email>...</email>
    </modification>

 
Med venlig hilsen
Henrik Hald Nørgaard, Programmør
Jobindex A/S, Holger Danskes Vej 91, 2000 Frederiksberg
Tlf.: +45 38 32 33 55, dir.:  +45 38 32 33 81
www.jobindex.dk <http://www.jobindex.dk/>  

 

  _____  

Fra: David Corley [mailto:[email protected]] 
Sendt: 13. maj 2009 13:10
Til: [email protected]
Emne: Re: [Cruisecontrol-user] Htmlemail-publisher and ignore-tag


what does the output of the Cruisecontrol xml log show.
Make sure the user information stored there is the same as what you're
getting back from git


On Wed, May 13, 2009 at 10:01 AM, Henrik Hald <[email protected]> wrote:


I publish my buildresults using the htmlemail-publisher, but I don't want to
send email to certain users. I have tried to use the ignore-element under
htmlemail, but I can't make it work - it sends emails to these users anyway.

I use git. One of the users that I want to ignore has a .git/config-file
that
starts like this:

[user]
       name = jobxx@lion

The output of 'git log -p --pretty=raw' may look like this:

commit 9bea3732941f22029f6751c8b6adbb197b3e1bc8
tree 536b5bf95f3e50fbd23bfbd963b987db8b577502
parent e37973093e32cf0c6072d6798ebf91a0013c238e
author jobxx@lion <...> 1242202659 +0200
committer jobxx@lion <...> 1242202659 +0200

My CC-config.xml contains this section:

<publishers>
       <htmlemail ...>
        <failure address="[email protected]"/>
        <ignore user="jobxx@lion"/>
        <ignore user="jobxx@giraffe"/>
       </htmlemail>
</publishers>

Yet, when jobxx@lion pushes changes to git, CC sends an email to this user.
Why is this the case?

Email addresses are removed from the samples.






----------------------------------------------------------------------------
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user





-- 
"To be or not to be. That's not really a question." - Jean-Luc Godard

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.