Re: Jenkins job failure analysis

2019-08-20 Thread Mark Waite
This is a question best asked on the user mailing list.  The developer list
is used for development discussions related to Jenkins and its components
(plugins, modules, etc.).

Jenkins executes processes (junit tests, for example) and reports the
return value of those processes and optionally analyzes the results of
those processes to decide the state of the job.  If a process returns a
non-zero exit code, that will generally cause Jenkins to mark the job as
failed.  If a junit process writes a report file that Jenkins analyzes and
that file includes a failing test, that will generally cause Jenkins to
mark the job as unstable.

On Tue, Aug 20, 2019 at 2:53 AM Sameer  wrote:

> Hi,
>
> I have been building my Java application using Jenkins (ver. 2.187) which
> was running in an EC2 instance. My code has Junit tests also. However
> sometimes the job fails for no reason valid to the code. Once the EC2
> instance was upgraded with better resources it started working smoothly. Is
> there way, I could find the root cause of failure in such a case? Basically
> I want to understand at Jenkins level what made it to fail the job.
>
> Any pointers would be appreciated!
>
> Thanks,
> Sameer
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/3867ea26-146f-4a32-84b3-08952c695f1a%40googlegroups.com
> 
> .
>


-- 
Thanks!
Mark Waite

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtHDLL5WvuBpRXtqbDRtBuUB2yGB%2BUd%2BRJcZt0wobTs_ow%40mail.gmail.com.


Jenkins job failure analysis

2019-08-20 Thread Sameer
Hi,

I have been building my Java application using Jenkins (ver. 2.187) which 
was running in an EC2 instance. My code has Junit tests also. However 
sometimes the job fails for no reason valid to the code. Once the EC2 
instance was upgraded with better resources it started working smoothly. Is 
there way, I could find the root cause of failure in such a case? Basically 
I want to understand at Jenkins level what made it to fail the job.

Any pointers would be appreciated!

Thanks,
Sameer

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/3867ea26-146f-4a32-84b3-08952c695f1a%40googlegroups.com.