Re: Publisher 'Publish JUnit test result report' failed: None of the test reports contained any result

2019-04-04 Thread yash sharma
Thanks Ullrich, the issue has resolved post changing to correct 
configuration.

On Monday, April 1, 2019 at 8:52:52 PM UTC+5:30, yash sharma wrote:
>
> Hi All,
>
> In my Jenkins I am doing a post build action which will display Junit test 
> result report. PFB the snip for the configuration of Junit xmls
>
> I am doing an Ant(jacoco) build to generate Junit results. 
> Post a successful build I get an error message like 
> I could see the xml generated and even the HTML file displaying the results
>
> My Junit Plugin version is 1.2.
>
> PFA the attached JUNIT xml.
>
> Any help is appreciated.
> Thanks and regards
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/66263aa6-ce29-49b5-8fe3-80a5d35e4cc6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Publisher 'Publish JUnit test result report' failed: None of the test reports contained any result

2019-04-03 Thread Ullrich Hafner
Please use text when showing text output, images are not helpful. 

The error message indicates that your report has not been found. I.e. the 
pattern is wrong.


> Am 03.04.2019 um 14:31 schrieb yash sharma :
> 
> 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/D15F3792-295A-4604-8F47-3C836BC36381%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Publisher 'Publish JUnit test result report' failed: None of the test reports contained any result

2019-04-03 Thread yash sharma
Thanks for the reply, I've updated my build to publish Junit report.
PFA sample report.

Now I am getting an error like

When I validate my generated xml via the xsd : 
https://github.com/windyroad/JUnit-Schema/blob/master/JUnit.xsd

I found out that my  tag has an attribute "skipped" which is not 
expected from the xsd

Do I have to update my Junit.jar which is publishing my Junit report or it 
is Jenkins version causing this issue.

On Monday, April 1, 2019 at 8:52:52 PM UTC+5:30, yash sharma wrote:
>
> Hi All,
>
> In my Jenkins I am doing a post build action which will display Junit test 
> result report. PFB the snip for the configuration of Junit xmls
>
> I am doing an Ant(jacoco) build to generate Junit results. 
> Post a successful build I get an error message like 
> I could see the xml generated and even the HTML file displaying the results
>
> My Junit Plugin version is 1.2.
>
> PFA the attached JUNIT xml.
>
> Any help is appreciated.
> Thanks and regards
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/2c0eb586-0b74-4d01-b839-6b35de885403%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


TEST-com.bt.cotplus.ui.action.test.WebTestSuite.xml
Description: XML document


Re: Publisher 'Publish JUnit test result report' failed: None of the test reports contained any result

2019-04-01 Thread Ullrich Hafner
JaCoCo is a code coverage tool. The report you pasted is the code coverage 
result. This can visualized in Jenkins using the 
https://plugins.jenkins.io/code-coverage-api 
 plugin. The JUnit plugin can’t 
read those reports.

In order to visualize JUnit results you need to run JUnit (without coverage) 
and provide a link to these results. 

> Am 01.04.2019 um 16:32 schrieb yash sharma :
> 
> Hi All,
> 
> In my Jenkins I am doing a post build action which will display Junit test 
> result report. PFB the snip for the configuration of Junit xmls
> 
> 
> I am doing an Ant(jacoco) build to generate Junit results. 
> Post a successful build I get an error message like 
> 
> I could see the xml generated and even the HTML file displaying the results
> 
> 
> My Junit Plugin version is 1.2.
> 
> PFA the attached JUNIT xml.
> 
> Any help is appreciated.
> Thanks and regards
> 
> 
> -- 
> 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 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/fd0fc17a-9b36-43b6-b08a-65013b552776%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .
>  2.png>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/7EEBC97E-C800-47A2-86EF-0DB78601D6BC%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: EXTERNAL: Re: how to configure paths for Publish JUnit test result report plugin

2014-11-26 Thread Ng, Jeff
Here’s what I do for JUnit and Emma reports:

1.  In the job configuration, I have a build step (execute shell) prior to 
executing the build, that creates a directory in the WORKSPACE for each report 
type (e.g. mkdir –p “${WORKSPACE}/junit-test-results”).
2.  In the build step where I execute my build target (in my case, using ant), 
I specify the output directory for all JUnit reports (e.g. ant 
–Dreport.dir=${WORKSPACE}/junit-test-results build).
3.  I do the same, but specifying the different workspace directory, for Emma 
when running my “coverage” ant target.
4.  Now, down in the “Post-build Actions” section, as the previous posters 
stated, use the Ant pattern expression to find the .xml in your workspace 
directory (i.e. **/junit-test-results/*.xml).

-Jeff Ng

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Md. Humayun Kabir Rana
Sent: Wednesday, November 26, 2014 12:03 AM
To: jenkinsci-users@googlegroups.com
Subject: EXTERNAL: Re: how to configure paths for Publish JUnit test result 
report plugin

But, How I will generate xml file I could not understand. and Where I will put 
this xml file pls

On Wednesday, December 26, 2012 9:14:52 PM UTC+6, Harpreet singh Wadhwa wrote:
Regular expression is the key :-)
example: **/Test-*.xml

This will get all the files starting with Test and ending with xml (from any 
directory inside workspace).

Thanks

On Tue, Dec 25, 2012 at 12:47 PM, Z W mpc...@gmail.comjavascript: wrote:
Hi All

We have different projects in a a build job producing different
subdirectories of xml test results file
How do we configure multiple paths in plugin Publish JUnit test
result report to get the test results file from different directories
path; paths are not similar.

thanks



--

http://wharpreet.blogspot.com
http://linuxgazettes.blogspot.comhttp://linuxgazettes.blogspot.com/
http://in.linkedin.com/in/wharpreet
--
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.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/9bed537c-92bb-46d6-938e-95183bd1ebe9%40googlegroups.comhttps://groups.google.com/d/msgid/jenkinsci-users/9bed537c-92bb-46d6-938e-95183bd1ebe9%40googlegroups.com?utm_medium=emailutm_source=footer.
For more options, visit https://groups.google.com/d/optout.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/7D95357C70BD6A41A88ECBC6A89849E95376D873%40HDXDSP51.us.lmco.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to configure paths for Publish JUnit test result report plugin

2014-11-25 Thread Md. Humayun Kabir Rana
But, How I will generate xml file I could not understand. and Where I will 
put this xml file pls

On Wednesday, December 26, 2012 9:14:52 PM UTC+6, Harpreet singh Wadhwa 
wrote:

 Regular expression is the key :-)
 example: **/Test-*.xml

 This will get all the files starting with Test and ending with xml (from 
 any directory inside workspace).

 Thanks

 On Tue, Dec 25, 2012 at 12:47 PM, Z W mpc...@gmail.com javascript: 
 wrote:

 Hi All

 We have different projects in a a build job producing different
 subdirectories of xml test results file
 How do we configure multiple paths in plugin Publish JUnit test
 result report to get the test results file from different directories
 path; paths are not similar.

 thanks




 -- 

 http://wharpreet.blogspot.com
 http://linuxgazettes.blogspot.com
 http://in.linkedin.com/in/wharpreet
  

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/9bed537c-92bb-46d6-938e-95183bd1ebe9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Publish JUnit test result report

2014-10-15 Thread teilo
Hi,

have you checked the time sync between the master and slave?

you will get this when Jenkins found test results but they are older then 
when the build started (that is they did not come from this build but are 
remenants of a previous build)

Regards

/James

On Monday, 13 October 2014 14:03:51 UTC+1, manasa a wrote:

 Hi,

 When am running build in jenkins, am getting following error.

 error: Test reports were found but none of them are new. Did tests run?


 Can anyone suggest a solution...THANKS IN ADVANCE



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


Publish JUnit test result report

2014-10-13 Thread manasa a
Hi,

When am running build in jenkins, am getting following error.

error: Test reports were found but none of them are new. Did tests run?


Can anyone suggest a solution...THANKS IN ADVANCE

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


Re: How to use archive artifacts for down streams with out enabling Publish JUnit test result report and Archive the artifacts in parent job

2013-06-26 Thread billunique
Here is a solution:
http://shotgunsandpenguins.blogspot.com/2009/07/how-to-aggregate-downstream-test.html



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/How-to-use-archive-artifacts-for-down-streams-with-out-enabling-Publish-JUnit-test-result-report-andb-tp1461983p4670772.html
Sent from the Jenkins users mailing list archive at Nabble.com.

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




Re: Publish JUnit test result report containing multiple testsuites

2013-01-24 Thread Andrea Frittoli
You should be able to use a testsuites root element
https://svn.jenkins-ci.org/trunk/hudson/dtkit/dtkit-format/dtkit-junit-model/src/main/resources/com/thalesgroup/dtkit/junit/model/xsd/junit-4.xsd

On Wednesday, July 11, 2012 2:33:23 PM UTC+1, Ilko wrote:

 the xml specifications allows single root elem only - that is why the 
 parser complains about not well-formed markup 

 On Wed, Jul 11, 2012 at 3:23 PM, CB c.roo...@gmail.com javascript:wrote:

   Thanks for the information.  This confirmed my guess that only 1 per 
 file was the answer.  I refactored the test source to make 
 multiple-test-suite files be larger single-test-suite files. 






Re: Publish JUnit test result report containing multiple testsuites

2013-01-24 Thread andreaf
You should be able to use a testsuites root element
https://svn.jenkins-ci.org/trunk/hudson/dtkit/dtkit-format/dtkit-junit-model/src/main/resources/com/thalesgroup/dtkit/junit/model/xsd/junit-4.xsd

On Wednesday, July 11, 2012 2:33:23 PM UTC+1, Ilko wrote:

 the xml specifications allows single root elem only - that is why the 
 parser complains about not well-formed markup 

 On Wed, Jul 11, 2012 at 3:23 PM, CB c.roo...@gmail.com javascript:wrote:

   Thanks for the information.  This confirmed my guess that only 1 per 
 file was the answer.  I refactored the test source to make 
 multiple-test-suite files be larger single-test-suite files. 






Re: how to configure paths for Publish JUnit test result report plugin

2012-12-26 Thread Harpreet singh Wadhwa
Regular expression is the key :-)
example: **/Test-*.xml

This will get all the files starting with Test and ending with xml (from
any directory inside workspace).

Thanks

On Tue, Dec 25, 2012 at 12:47 PM, Z W mpc8...@gmail.com wrote:

 Hi All

 We have different projects in a a build job producing different
 subdirectories of xml test results file
 How do we configure multiple paths in plugin Publish JUnit test
 result report to get the test results file from different directories
 path; paths are not similar.

 thanks




-- 

http://wharpreet.blogspot.com
http://linuxgazettes.blogspot.com
http://in.linkedin.com/in/wharpreet


Re: how to configure paths for Publish JUnit test result report plugin

2012-12-26 Thread KEVIN FLEMING (BLOOMBERG/ 731 LEXIN)
That's not a regular expression, it's an Ant pattern expression. They are quite 
different, and serve different purposes.
 

- Original Message -
From: jenkinsci-users@googlegroups.com
To: jenkinsci-users@googlegroups.com
At: Dec 26 2012 10:15:30


Regular expression is the key :-)
example: **/Test-*.xml

This will get all the files starting with Test and ending with xml (from
any directory inside workspace).

Thanks

On Tue, Dec 25, 2012 at 12:47 PM, Z W mpc8...@gmail.com wrote:

 Hi All

 We have different projects in a a build job producing different
 subdirectories of xml test results file
 How do we configure multiple paths in plugin Publish JUnit test
 result report to get the test results file from different directories
 path; paths are not similar.

 thanks




-- 

http://wharpreet.blogspot.com
http://linuxgazettes.blogspot.com
http://in.linkedin.com/in/wharpreet



Re: how to configure paths for Publish JUnit test result report plugin

2012-12-26 Thread zw
Hi Harpreet 

My question isnt tied to one directory; 
eg **/Test-*.xml may be one but I have another set of test results under 
**/target/surefire-reports/*.xml

Question: How do I input in that plugin box to pick up both 2 different 
test results directories ?

Thanks

On Wednesday, December 26, 2012 7:14:52 AM UTC-8, Harpreet singh Wadhwa 
wrote:

 Regular expression is the key :-)
 example: **/Test-*.xml

 This will get all the files starting with Test and ending with xml (from 
 any directory inside workspace).

 Thanks

 On Tue, Dec 25, 2012 at 12:47 PM, Z W mpc...@gmail.com javascript:wrote:

 Hi All

 We have different projects in a a build job producing different
 subdirectories of xml test results file
 How do we configure multiple paths in plugin Publish JUnit test
 result report to get the test results file from different directories
 path; paths are not similar.

 thanks




 -- 

 http://wharpreet.blogspot.com
 http://linuxgazettes.blogspot.com
 http://in.linkedin.com/in/wharpreet
  


Re: how to configure paths for Publish JUnit test result report plugin

2012-12-26 Thread KEVIN FLEMING (BLOOMBERG/ 731 LEXIN)
A simple pattern of **/*.xml will collect *all* XML files in the entire 
workspace. If there are XML files the plugin should not inspect, then you'll 
have to ensure that the test result files all have some common portion of their 
name. For example, if all of your test result files had names that ended with 
-test.xml, then **/*-test.xml would collect all of them, regardless of 
which directory they are located in. This is what the previous example was 
trying to show you, the ** pattern is special and it means search all 
subdirectories.
 

- Original Message -
From: mpc8...@gmail.com
To: jenkinsci-users@googlegroups.com
Cc: KEVIN FLEMING (BLOOMBERG/ 731 LEXIN)
At: Dec 26 2012 11:51:01


Hi Kevin

Thanks for responding.

My question isnt tied to one directory; 
eg **/Test-*.xml may be one but I have another set of test results under 
**/target/surefire-reports/*.xml

Question: How do I input in that plugin box to pick up both 2 different 
test results directories ?

Thanks


On Wednesday, December 26, 2012 7:16:30 AM UTC-8, Kevin P. Fleming wrote:

  That's not a regular expression, it's an Ant pattern expression. They 
 are quite different, and serve different purposes.

 --
 *From:*jenkins...@googlegroups.com javascript:*To:*
 jenkins...@googlegroups.com javascript:*Date:*12/26 10:15
 --

  Regular expression is the key :-)
 example: **/Test-*.xml

 This will get all the files starting with Test and ending with xml (from 
 any directory inside workspace).

 Thanks

 On Tue, Dec 25, 2012 at 12:47 PM, Z W mpc...@gmail.com javascript:wrote:

 Hi All

 We have different projects in a a build job producing different
 subdirectories of xml test results file
 How do we configure multiple paths in plugin Publish JUnit test
 result report to get the test results file from different directories
 path; paths are not similar.

 thanks




 -- 

 http://wharpreet.blogspot.com
 http://linuxgazettes.blogspot.com
 http://in.linkedin.com/in/wharpreet
  



Re: how to configure paths for Publish JUnit test result report plugin

2012-12-26 Thread Harpreet singh Wadhwa
@Kevin
Thanks for correcting me (on not a regex)

@zw
For you this will work. as it searches in all directories under Workspace
(in this case)

Thanks


On Wed, Dec 26, 2012 at 8:50 AM, zw mpc8...@gmail.com wrote:

 Hi Kevin

 Thanks for responding.

 My question isnt tied to one directory;
 eg **/Test-*.xml may be one but I have another set of test results under
 **/target/surefire-reports/*.xml

 Question: How do I input in that plugin box to pick up both 2 different
 test results directories ?

 Thanks


 On Wednesday, December 26, 2012 7:16:30 AM UTC-8, Kevin P. Fleming wrote:

  That's not a regular expression, it's an Ant pattern expression. They
 are quite different, and serve different purposes.

 --
 *From:*jenkins...@googlegroups.**com*To:*jenkins...@googlegroups.**com*
 Date:*12/26 10:15
 --

  Regular expression is the key :-)
 example: **/Test-*.xml

 This will get all the files starting with Test and ending with xml (from
 any directory inside workspace).

 Thanks

 On Tue, Dec 25, 2012 at 12:47 PM, Z W mpc...@gmail.com wrote:

 Hi All

 We have different projects in a a build job producing different
 subdirectories of xml test results file
 How do we configure multiple paths in plugin Publish JUnit test
 result report to get the test results file from different directories
 path; paths are not similar.

 thanks




 --

 http://wharpreet.blogspot.com
 http://linuxgazettes.blogspot.**com http://linuxgazettes.blogspot.com/
 http://in.linkedin.com/in/**wharpreethttp://in.linkedin.com/in/wharpreet




-- 

http://wharpreet.blogspot.com
http://linuxgazettes.blogspot.com
http://in.linkedin.com/in/wharpreet


how to configure paths for Publish JUnit test result report plugin

2012-12-25 Thread Z W
Hi All

We have different projects in a a build job producing different
subdirectories of xml test results file
How do we configure multiple paths in plugin Publish JUnit test
result report to get the test results file from different directories
path; paths are not similar.

thanks


Re: Publish JUnit test result report containing multiple testsuites

2012-07-11 Thread Ilko Iliev
the xml specifications allows single root elem only - that is why the
parser complains about not well-formed markup

On Wed, Jul 11, 2012 at 3:23 PM, CB c.rooste...@gmail.com wrote:

   Thanks for the information.  This confirmed my guess that only 1 per
 file was the answer.  I refactored the test source to make
 multiple-test-suite files be larger single-test-suite files.