[JIRA] [maven] (JENKINS-17644) Post build action execute even maven build was failed

2013-04-17 Thread vova.krav...@gmail.com (JIRA)














































Vladimir Kravets
 created  JENKINS-17644


Post build action execute even maven build was failed















Issue Type:


Bug



Affects Versions:


current



Assignee:


Unassigned


Components:


maven, postbuild-task



Created:


17/Apr/13 7:40 AM



Description:


I configure job to execute shell script only in case if build was successfull on unstable. Using Execute Shell post build task.

But when maven was failed (I noticed that only in case when java exception is appeared during build) I see such line in the log:

20:52:04 Maven failed with error.
20:52:04 channel stopped
20:52:04 CP-Master-Continuous $ /bin/sh /tmp/hudson2733256445922844243.sh

As you see maven failed, Jenkins is not mark build as FAILURE... Execute shell screen, and after it I see such lines in the log:
20:52:09 Email was triggered for: Failure
20:52:09 Sending email for trigger: Failure
20:52:09 Sending email to: 
20:52:13 Finished: UNSTABLE

Please notice that UNSTABLE is the status of previous build.




Project:


Jenkins



Priority:


Major



Reporter:


Vladimir Kravets

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







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




[JIRA] [maven] (JENKINS-17644) Post build action execute even maven build was failed

2013-04-17 Thread vova.krav...@gmail.com (JIRA)














































Vladimir Kravets
 commented on  JENKINS-17644


Post build action execute even maven build was failed















As I see from the code proble in the surefire archiver, since we have failed test and have also failed mojo... And we mark build as success... due to this skip the real problem =(



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







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