My Ant build is succeeding, but Hudson is failing

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

My Ant build is succeeding, but Hudson is failing

David Irwin-2
First off, I'm new to using Hudson and have found it very easy to configure and setup.

Now to my question...I have a project hosted at sourceforge that is properly being pulled and built on my Hudson machine. I use Ant to build the project and everything looks good. When Hudson runs the default Ant task it builds fine (even says "build successful"), however the actual Hudson build fails. A snippit from the Hudson console:

jar-classes:
[echo] Creating jar file
[echo] -----------------


[mkdir] Created dir: C:\dev\hudson\jobs\jhomenet-commons\workspace\jhomenet-commons\dist\jhomenet-commons-0.3
[jar] Building jar: C:\dev\hudson\jobs\jhomenet-commons\workspace\jhomenet-commons\dist\jhomenet-
commons-0.3\jhomenet-commons.jar

BUILD SUCCESSFUL
Total time: 23 seconds
Sending e-mails to: [hidden email] [hidden email]
finished: FAILURE

I'm receiving emails that my Hudson build is failing so I know it's not the email setup. What do I need to do to get the  Hudson build  to not fail? Something in Ant? Something I need to configure? Any information is helpful.

Thanks,
Dave
Reply | Threaded
Open this post in threaded view
|

Re: My Ant build is succeeding, but Hudson is failing

Kohsuke Kawaguchi-2

Another person reported this issue relatively recently. If you look at
the archive, you'll see some of the trouble-shooting steps and suggestions.

Try some of those, and let me know what you see.


David Irwin wrote:

> First off, I'm new to using Hudson and have found it very easy to configure
> and setup.
>
> Now to my question...I have a project hosted at sourceforge that is properly
> being pulled and built on my Hudson machine. I use Ant to build the project
> and everything looks good. When Hudson runs the default Ant task it builds
> fine (even says "build successful"), however the actual Hudson build fails.
> A snippit from the Hudson console:
>
> jar-classes:
>>      [echo] Creating jar file
>>      [echo] -----------------
>>
>>
>>     [mkdir] Created dir: C:\dev\hudson\jobs\jhomenet-commons\workspace\jhomenet-commons\dist\jhomenet-commons-0.3
>>       [jar] Building jar: C:\dev\hudson\jobs\jhomenet-commons\workspace\jhomenet-commons\dist\jhomenet-
>> commons-0.3\jhomenet-commons.jar
>>
>> BUILD SUCCESSFUL
>> Total time: 23 seconds
>> Sending e-mails to: [hidden email] [hidden email]
>>
>> finished: FAILURE
>>
>>
> I'm receiving emails that my Hudson build is failing so I know it's not the
> email setup. What do I need to do to get the  Hudson build  to not fail?
> Something in Ant? Something I need to configure? Any information is helpful.
>
>
> Thanks,
> Dave
>

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: My Ant build is succeeding, but Hudson is failing

David Irwin-2
I upgraded to Ant version 1.7.0 (from 1.6.5) and this seemed to fix the problem. Thanks for the information.

On 2/21/07, Kohsuke Kawaguchi <[hidden email]> wrote:

Another person reported this issue relatively recently. If you look at
the archive, you'll see some of the trouble-shooting steps and suggestions.

Try some of those, and let me know what you see.


David Irwin wrote:

> First off, I'm new to using Hudson and have found it very easy to configure
> and setup.
>
> Now to my question...I have a project hosted at sourceforge that is properly
> being pulled and built on my Hudson machine. I use Ant to build the project
> and everything looks good. When Hudson runs the default Ant task it builds
> fine (even says "build successful"), however the actual Hudson build fails.
> A snippit from the Hudson console:
>
> jar-classes:
>>      [echo] Creating jar file
>>      [echo] -----------------
>>
>>
>>     [mkdir] Created dir: C:\dev\hudson\jobs\jhomenet-commons\workspace\jhomenet-commons\dist\jhomenet-commons-0.3
>>       [jar] Building jar: C:\dev\hudson\jobs\jhomenet-commons\workspace\jhomenet-commons\dist\jhomenet-
>> commons-0.3\jhomenet-commons.jar
>>
>> BUILD SUCCESSFUL
>> Total time: 23 seconds
>> Sending e-mails to: [hidden email] [hidden email]
>>
>> finished: FAILURE
>>
>>
> I'm receiving emails that my Hudson build is failing so I know it's not the
> email setup. What do I need to do to get the  Hudson build  to not fail?
> Something in Ant? Something I need to configure? Any information is helpful.
>
>
> Thanks,
> Dave
>


--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]