onrecovery publisher does not process

1 view
Skip to first unread message

Katrina

unread,
Jun 3, 2009, 2:54:02 PM6/3/09
to Xinc Development
Hi there,

If I remove the "onsuccess" publisher, I only receive notification of
failures, no notification of recovery.

This is my configuration:

<publishers>
<onfailure>
<email to="m...@email.com" subject="Build failed" message="$
{build.failure.message}" />
</onfailure>
<onrecovery>
<email to="m...@email.com" subject="Build recovered" message="$
{build.recovery.message}" />
</onrecovery>
<onsuccess>
<email to="m...@email.com" subject="Build succeeded" message="$
{build.success.message}" />
</onsuccess>
</publishers>

This is what my log says on the first successful build after a failure
(when no onsuccess is defined):
[info] [2009-06-03 11:40:05-America/Los_Angeles] [build] hackday:
Processing builders done
[info] [2009-06-03 11:40:05-America/Los_Angeles] [build] hackday:
BUILD PASSED
[info] [2009-06-03 11:40:05-America/Los_Angeles] Processing task:
publishers
[info] [2009-06-03 11:40:05-America/Los_Angeles] [build] hackday:
Processing publishers
[info] [2009-06-03 11:40:05-America/Los_Angeles] [build] hackday:
Last Build status: -2
[info] [2009-06-03 11:40:05-America/Los_Angeles] [build] hackday:
Processing publishers done
[info] [2009-06-03 11:40:05-America/Los_Angeles] Setting loglevel
to 2
[info] [2009-06-03 11:40:05-America/Los_Angeles] Next buildtime:
2009-06-03 11:40:12

If I define onsuccess (and onrecovery) this is what the log says on
the first success after a failure:
[info] [2009-06-03 11:51:20-America/Los_Angeles] [build] hackday:
Processing builders done
[info] [2009-06-03 11:51:20-America/Los_Angeles] [build] hackday:
BUILD PASSED
[info] [2009-06-03 11:51:20-America/Los_Angeles] Processing task:
publishers
[info] [2009-06-03 11:51:20-America/Los_Angeles] [build] hackday:
Processing publishers
[info] [2009-06-03 11:51:20-America/Los_Angeles] [build] hackday:
Last Build status: -2
[info] [2009-06-03 11:51:20-America/Los_Angeles] [build] hackday:
Publishing with OnSuccess Publishers
[info] [2009-06-03 11:51:20-America/Los_Angeles] [build] hackday:
Publishing with OnSuccess Publisher:
Xinc_Plugin_Repos_Publisher_Email_Task
[info] [2009-06-03 11:51:20-America/Los_Angeles] [project] hackday:
Executing email publisher with content (...)

I couldn't find a known issue (or didn't know where to look).

Does it look like there is a problem in my config?

Best,
Katrina

Paul

unread,
Jun 15, 2009, 9:13:23 AM6/15/09
to Xinc Development
No, your config looks correct. Can you please file a bug in the
tracker if you have not already?

Thanks!

Paul

Katrina

unread,
Aug 13, 2009, 11:45:20 PM8/13/09
to Xinc Development
Thank you, I have filed the report in the issue tracker.
Katrina
Reply all
Reply to author
Forward
0 new messages