[JIRA] (JENKINS-53635) xunit step failure is not displayed

2018-10-03 Thread nfalc...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolas Falco updated  JENKINS-53635  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53635  
 
 
  xunit step failure is not displayed   
 

  
 
 
 
 

 
Change By: 
 Nikolas Falco  
 
 
Status: 
 Fixed but Unreleased Resolved  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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/d/optout.


[JIRA] (JENKINS-53635) xunit step failure is not displayed

2018-09-22 Thread nfalc...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolas Falco updated  JENKINS-53635  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53635  
 
 
  xunit step failure is not displayed   
 

  
 
 
 
 

 
Change By: 
 Nikolas Falco  
 
 
Status: 
 Reopened Fixed but Unreleased  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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/d/optout.


[JIRA] (JENKINS-53635) xunit step failure is not displayed

2018-09-21 Thread nfalc...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolas Falco commented on  JENKINS-53635  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: xunit step failure is not displayed   
 

  
 
 
 
 

 
 The link you are speaking in the PR is done for steps that does not handle build status it self. Have a look to other publish strategy, none of them throws exception. 
 
hudson.tasks.Fingerprinter.perform() 
hudson.tasks.ArtifactArchiver.perform() 
hudson.tasks.Mailer.perform() (perform an e.printStackTrace to listener -> console) 
hudson.plugins.sonar.SonarPublisher.perform() -> (exception captured and handled in executeSonar()) 
... 
  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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/d/optout.


[JIRA] (JENKINS-53635) xunit step failure is not displayed

2018-09-20 Thread ow...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Owen Wood reopened an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Re-opening. Nikolas Falco Please see: 
 
https://github.com/jenkinsci/xunit-plugin/pull/64#issuecomment-423283014 
https://github.com/jenkinsci/xunit-plugin/pull/64#issuecomment-423285754 
  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-53635  
 
 
  xunit step failure is not displayed   
 

  
 
 
 
 

 
Change By: 
 Owen Wood  
 
 
Resolution: 
 Not A Defect  
 
 
Status: 
 Closed Reopened  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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/d/optout.


[JIRA] (JENKINS-53635) xunit step failure is not displayed

2018-09-20 Thread nfalc...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolas Falco commented on  JENKINS-53635  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: xunit step failure is not displayed   
 

  
 
 
 
 

 
 Publishers (or Recorder) like xunit (and junit) does not stop the build. Normally in a standard project they are post build steps and all of them are executed. In a pipeline you can mix them but the behavior is the same, a failure does not cause the pipeline to stop.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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/d/optout.


[JIRA] (JENKINS-53635) xunit step failure is not displayed

2018-09-20 Thread nfalc...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolas Falco updated  JENKINS-53635  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53635  
 
 
  xunit step failure is not displayed   
 

  
 
 
 
 

 
Change By: 
 Nikolas Falco  
 
 
Status: 
 In Review Closed  
 
 
Resolution: 
 Not A Defect  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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/d/optout.


[JIRA] (JENKINS-53635) xunit step failure is not displayed

2018-09-17 Thread ow...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Owen Wood commented on  JENKINS-53635  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: xunit step failure is not displayed   
 

  
 
 
 
 

 
 The change now means that a stage failure will be reported correctly as failed.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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/d/optout.


[JIRA] (JENKINS-53635) xunit step failure is not displayed

2018-09-17 Thread ow...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Owen Wood updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53635  
 
 
  xunit step failure is not displayed   
 

  
 
 
 
 

 
Change By: 
 Owen Wood  
 

  
 
 
 
 

 
 Same issue as described in https://issues.jenkins-ci.org/browse/JENKINS-47142, except, for xunit step, not archiveArtifacts step. The issue looks to be that the exception is swallowed here - [https://github.com/jenkinsci/xunit-plugin/blob/master/src/main/java/org/jenkinsci/plugins/xunit/XUnitPublisher.java#L164] meaning that it's not able to be handled upstream.  Not confirmed. The result is that the stage shows as successful, but the build fails.A simple test case that reproduces the issue:{code}node {stage('stage 1') {git 'https://github.com/dantheman213/java-hello-world-maven.git'sh 'mvn clean package'xunit testTimeMargin: '3000', thresholdMode: 1, thresholds: [failed(), passed(), skipped()], tools: [JUnit(deleteOutputFiles: true, failIfNotNew: true, pattern: 'target/failsafe-reports/*.xml', skipNoTestFiles: false, stopProcessingIfError: true)]}stage('stage 2') {echo 'hello from stage 2'}} {code}   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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 

[JIRA] (JENKINS-53635) xunit step failure is not displayed

2018-09-17 Thread ow...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Owen Wood commented on  JENKINS-53635  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: xunit step failure is not displayed   
 

  
 
 
 
 

 
 Nikolas Falco could you review?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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/d/optout.


[JIRA] (JENKINS-53635) xunit step failure is not displayed

2018-09-17 Thread ow...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Owen Wood updated  JENKINS-53635  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53635  
 
 
  xunit step failure is not displayed   
 

  
 
 
 
 

 
Change By: 
 Owen Wood  
 
 
Status: 
 In  Progress  Review  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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/d/optout.


[JIRA] (JENKINS-53635) xunit step failure is not displayed

2018-09-17 Thread ow...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Owen Wood commented on  JENKINS-53635  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: xunit step failure is not displayed   
 

  
 
 
 
 

 
 Created https://github.com/jenkinsci/xunit-plugin/pull/64  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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/d/optout.


[JIRA] (JENKINS-53635) xunit step failure is not displayed

2018-09-17 Thread ow...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Owen Wood started work on  JENKINS-53635  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 Owen Wood  
 
 
Status: 
 Open In Progress  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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/d/optout.


[JIRA] (JENKINS-53635) xunit step failure is not displayed

2018-09-17 Thread ow...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Owen Wood created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53635  
 
 
  xunit step failure is not displayed   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Owen Wood  
 
 
Components: 
 xunit-plugin  
 
 
Created: 
 2018-09-18 00:34  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Owen Wood  
 

  
 
 
 
 

 
 Same issue as described in https://issues.jenkins-ci.org/browse/JENKINS-47142, except, for xunit step, not archiveArtifacts step.   The issue looks to be that the exception is swallowed here - https://github.com/jenkinsci/xunit-plugin/blob/master/src/main/java/org/jenkinsci/plugins/xunit/XUnitPublisher.java#L164 meaning that it's not able to be handled upstream. Not confirmed. The result is that the stage shows as successful, but the build fails. A simple test case that reproduces the issue: 

 

node {
stage('stage 1') {
git 'https://github.com/dantheman213/java-hello-world-maven.git'
sh 'mvn clean package'
xunit testTimeMargin: '3000', thresholdMode: 1, thresholds: [failed(), passed(), skipped()], tools: [JUnit(deleteOutputFiles: true, failIfNotNew: true, pattern: 'target/failsafe-reports/*.xml', skipNoTestFiles: false, stopProcessingIfError: true)]
}
stage('stage 2') {
echo 'hello from stage 2'
}
}