ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laura Dean <lgd...@cyrusinnovation.com>
Subject Re: Mail task on Target failure
Date Fri, 05 Aug 2011 19:06:57 GMT
I know TeamCity does keep the logs, or can be configured to do so.  It does
for us.

Laura

On Fri, Aug 5, 2011 at 1:16 PM, glenn opdycke-hansen <glennoph@gmail.com>wrote:

> +1 CI Servers.
> It can be used to call an Ant script and email if there is success or
> failure.  We notice that for some CI servers the log was not kept,
> which is important for error situations.  But they are easy to set up,
> so it worth investigating.
>
> --glenn
>
>
>
> On Fri, Aug 5, 2011 at 09:32, Laura Dean <lgdean@cyrusinnovation.com>
> wrote:
> > To take a different approach: have you considered using a continuous
> > integration server?  This is exactly the sort of thing they're good at,
> and
> > then your ant setup could just worry about building.
> >
> > I've used TeamCity and have heard good things about Jenkins (
> > http://jenkins-ci.org/), but probably any of them could handle sending
> > email, since that's one of the main features people want in such a
> system.
> >
> > Laura
> >
> > On Fri, Aug 5, 2011 at 5:02 AM, vino_hymi <vinohymi@gmail.com> wrote:
> >
> >> Hi,
> >>
> >> I have ant project where there is set of targets. After successful
> >> completion of all targets I call mail target at the end to send a mail
> with
> >> attached logs with message build successful.
> >>
> >> Now, my challenge is if one of the target fails then build exits so it
> will
> >> not proceed to mail target which is the last one to perform on
> completion
> >> of
> >> all. How can I use mail target to send mail on any target failure?
> >>
> >> Any hints?
> >>
> >> -Vinodh Kumar
> >>
> >> --
> >> View this message in context:
> >>
> http://ant.1045680.n5.nabble.com/Mail-task-on-Target-failure-tp4669046p4669046.html
> >> Sent from the Ant - Users mailing list archive at Nabble.com.
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >> For additional commands, e-mail: user-help@ant.apache.org
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message