Hi,

Background
We are migrating from a legacy build system to Jenkins. So, our build boxes 
already are configured for various tools (e.g. Maven).

Problem
The Jenkins job has an "Invoke top-level Maven targets" build step that 
compiles code, etc. When there are compile errors (or other errors like unit 
tests fail), the build continues to run successfully to completion.

I discovered that the legacy build system would capture STDOUT/STDERR from the 
Maven build step and look for errors; and fail the build based on pattern 
matching.

Question 1
Is there a way in Jenkins to provide similar functionality as our legacy build 
system (i.e. capture Maven's STDOUT/ERR and use pattern matching to detect 
failures)? If not, I guess I'll have to deviate our Jenkins build to leverage a 
different MVN.BAT.

Question 2
How does Jenkins determine  job step success/failure? (Very simple question, 
but my google searches have not helped in figuringthat out)...

Thanks for your time,
Bob

*** *** ***
This message contains information which may be confidential and privileged. 
Unless you are the addressee (or authorized to receive for the addressee), you 
may not use, copy or disclose to anyone the message or any information 
contained in the message. If you have received the message in error,  please 
advise the sender by reply e-mail and delete the message.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to