[JIRA] (JENKINS-53165) Conversion Exception for NUnit2 XML Format when nunit-version is a String

2018-08-22 Thread m...@tknerr.de (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Torben Knerr commented on  JENKINS-53165  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Conversion Exception for NUnit2 XML Format when nunit-version is a String   
 

  
 
 
 
 

 
 See related PR here: https://github.com/kingatlas/jest-nunit-reporter/pull/3  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
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-53165) Conversion Exception for NUnit2 XML Format when nunit-version is a String

2018-08-22 Thread m...@tknerr.de (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Torben Knerr commented on  JENKINS-53165  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Conversion Exception for NUnit2 XML Format when nunit-version is a String   
 

  
 
 
 
 

 
 Thanks Nikolas Falco for pointing me to the XSD file, I totally missed that. Will create a PR in the jest-nunit-publisher repo with the version being properly set to 2.5.0.0.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
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-53165) Conversion Exception for NUnit2 XML Format when nunit-version is a String

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


 
 
 
 

 
 
 

 
   
 Nikolas Falco commented on  JENKINS-53165  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Conversion Exception for NUnit2 XML Format when nunit-version is a String   
 

  
 
 
 
 

 
 By a quick compare seems version 2.5 (or 2.6 since the XSD are the same)  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
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-53165) Conversion Exception for NUnit2 XML Format when nunit-version is a String

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


 
 
 
 

 
 
 

 
   
 Nikolas Falco commented on  JENKINS-53165  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Conversion Exception for NUnit2 XML Format when nunit-version is a String   
 

  
 
 
 
 

 
 Anyway in the github repo you linked above seems has used a specific XSD file. To know which is the correct version to write you should check which XSD version is that. You can find all NUnit XSD version to compare here (ignore the nunit-2.x.xsd file)  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
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-53165) Conversion Exception for NUnit2 XML Format when nunit-version is a String

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


 
 
 
 

 
 
 

 
   
 Nikolas Falco commented on  JENKINS-53165  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Conversion Exception for NUnit2 XML Format when nunit-version is a String   
 

  
 
 
 
 

 
 Depends on the NUnit version. The most recent writes only the version number with exception of NUnit 2.2 that does not have environment XML element. Remember that the version should be 2.x, if you see 3.x are adapter of NUnit 3.x to write in NUnit 2 format. Here you can find examples gathered from JIRA issues.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
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-53165) Conversion Exception for NUnit2 XML Format when nunit-version is a String

2018-08-22 Thread m...@tknerr.de (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Torben Knerr commented on  JENKINS-53165  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Conversion Exception for NUnit2 XML Format when nunit-version is a String   
 

  
 
 
 
 

 
 Nikolas Falco will do so, thanks! Regarding validity of version number: what is considered a valid "nunit-version"? I have seen digits only (e.g. "2.4.0.0") but also things like " 2.6.0.0" Any recommendation on this?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
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-53165) Conversion Exception for NUnit2 XML Format when nunit-version is a String

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


 
 
 
 

 
 
 

 
   
 Nikolas Falco closed an issue as Fixed  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 The nunit version must be a valid version because in XSLT there are logics on how construct the classname and name of test case. Depending on the version some attributes or xml elements are not present. Please fill a bug to the tools to declare against which version of NUnit is compatible.  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-53165  
 
 
  Conversion Exception for NUnit2 XML Format when nunit-version is a String   
 

  
 
 
 
 

 
Change By: 
 Nikolas Falco  
 
 
Status: 
 Open Closed  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
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-53165) Conversion Exception for NUnit2 XML Format when nunit-version is a String

2018-08-21 Thread m...@tknerr.de (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Torben Knerr updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53165  
 
 
  Conversion Exception for NUnit2 XML Format when nunit-version is a String   
 

  
 
 
 
 

 
Change By: 
 Torben Knerr  
 
 
Attachment: 
 TestResult-nunitVersion.xml  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
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-53165) Conversion Exception for NUnit2 XML Format when nunit-version is a String

2018-08-21 Thread m...@tknerr.de (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Torben Knerr updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53165  
 
 
  Conversion Exception for NUnit2 XML Format when nunit-version is a String   
 

  
 
 
 
 

 
Change By: 
 Torben Knerr  
 

  
 
 
 
 

 
 This seems to be an incompatibility with [https://github.com/kingatlas/jest-nunit-reporter] which generates "na" as the  nunitVersion  nunit-version .As a result we get this conversion error:{noformat}org.jenkinsci.plugins.xunit.service.TransformerException: Conversion error: Cannot convert string "" to a double at org.jenkinsci.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:81) at org.jenkinsci.plugins.xunit.service.XUnitTransformerCallable.invoke(XUnitTransformerCallable.java:120) at org.jenkinsci.plugins.xunit.service.XUnitTransformerCallable.invoke(XUnitTransformerCallable.java:39) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2750) at hudson.remoting.UserRequest.perform(UserRequest.java:208) at hudson.remoting.UserRequest.perform(UserRequest.java:54) at hudson.remoting.Request$2.run(Request.java:360) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at hudson.remoting.Engine$1$1.run(Engine.java:98) at java.lang.Thread.run(Thread.java:745) at ..remote call to JNLP4-connect connection from 10.48.41.61/10.48.41.61:49693(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1654) at hudson.remoting.UserResponse.retrieve(UserRequest.java:311) at hudson.remoting.Channel.call(Channel.java:905) at hudson.FilePath.act(FilePath.java:987){noformat}Root cause seems to be the {{ nunitVersion nunit-version ="na"}} attribute:{code}{code}See attached report file  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
  

[JIRA] (JENKINS-53165) Conversion Exception for NUnit2 XML Format when nunit-version is a String

2018-08-21 Thread m...@tknerr.de (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Torben Knerr updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53165  
 
 
  Conversion Exception for NUnit2 XML Format when nunit-version is a String   
 

  
 
 
 
 

 
Change By: 
 Torben Knerr  
 
 
Summary: 
 Conversion Exception for NUnit2 XML Format when  nunitVersion  nunit-version  is a String  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





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