Re: Htmlemail-publisher and ignore-tag
David Corley <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
It does sound like faulty behaviour alright.
You might try the following before reporting a bug though:
1. Clone the current repository
2. Create a new user with no "@" in the user name. i.e. "jobxx"
3. Create a new cruisecontrol project to check the newly cloned repository
4. Use the <map> child element of the <htmlemail> to specify a mapping from
alias "jobxx" to address "jobxx@lion"
5. Specify an <ignore> child element for user "jobxx"
so you should have something like:
<publishers>
<htmlemail ...>
<map alias="jobxx" address="jobxx@lion"/>
<ignore user="jobxx"/>
</htmlemail>
6. Commit a changeset as "jobxx"
7. See if the ignore works correctly with this configuration
If it does work, it's still not ideal, but it might help the Cruisecontrol
developers debug what is going on.
/Dave
2009/5/13 Henrik Hald Nørgaard <[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
>
>
> ------------------------------
> *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
>
>
--
"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