Locating extra junit xml files

2015-11-02 Thread John D. Ament
My build uses maven to kick off some grunt tasks to test my javascript 
code.  The grunt tests use jasmine and output junit styled xml files. 
 These XML files are not picked up in my build in jenkins.  Any idea how I 
can get jenkins to load these files?

-- 
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/62f79755-dd51-4dae-b13d-faeaf4ced86c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Locating extra junit xml files

2015-11-02 Thread R. Tyler Croy
(replies inline)

On Mon, 02 Nov 2015, John D. Ament wrote:

> It would appear I'm 
> hitting https://issues.jenkins-ci.org/browse/JENKINS-9980 :-(

Ah, the Maven job type is no bueno in my opinion :)

I assumed you were using a Freestyle or Workflow type job


> 
> On Monday, November 2, 2015 at 5:37:04 PM UTC-5, John D. Ament wrote:
> >
> >
> >
> > On Monday, November 2, 2015 at 5:29:07 PM UTC-5, R Tyler Croy wrote:
> >>
> >> (replies inline) 
> >>
> >> On Mon, 02 Nov 2015, John D. Ament wrote: 
> >>
> >> > My build uses maven to kick off some grunt tasks to test my javascript 
> >> > code.  The grunt tests use jasmine and output junit styled xml files. 
> >> >  These XML files are not picked up in my build in jenkins.  Any idea 
> >> how I 
> >> > can get jenkins to load these files? 
> >>
> >>
> >> Have you configured a post-build action "Publish JUnit Test Reports" and 
> >> told 
> >> Jenkins where it can find those JUnit XML files? 
> >>
> >
> > I don't even see that option.  Debugging.
> >  
> >
> >>
> >> Usually if you're not seeing the test reports you expect means that this 
> >> field 
> >> needs a new pattern to find the XML files, e.g. `build/reports/**/*.xml` 
> >>
> >
> > For the other maven jobs, they're going to target/surefire-reports.  I 
> > told the UI guys to drop them there, but not being picked up.  I'm guessing 
> > its different?
> >  
> >
> >>
> >>
> >>
> >> - R. Tyler Croy 
> >>
> >> -- 
> >>  Code:  
> >>   Chatter:  
> >>
> >>   % gpg --keyserver keys.gnupg.net --recv-key 3F51E16F 
> >> -- 
> >>
> >
> 
> -- 
> 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/db90e734-f7cd-4d6a-9ae4-097b4e2f600e%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


- R. Tyler Croy

--
 Code: 
  Chatter: 

  % gpg --keyserver keys.gnupg.net --recv-key 3F51E16F
--

-- 
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/20151102224840.GL3079%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: Digital signature


Re: Locating extra junit xml files

2015-11-02 Thread John D. Ament


On Monday, November 2, 2015 at 5:29:07 PM UTC-5, R Tyler Croy wrote:
>
> (replies inline) 
>
> On Mon, 02 Nov 2015, John D. Ament wrote: 
>
> > My build uses maven to kick off some grunt tasks to test my javascript 
> > code.  The grunt tests use jasmine and output junit styled xml files. 
> >  These XML files are not picked up in my build in jenkins.  Any idea how 
> I 
> > can get jenkins to load these files? 
>
>
> Have you configured a post-build action "Publish JUnit Test Reports" and 
> told 
> Jenkins where it can find those JUnit XML files? 
>

I don't even see that option.  Debugging.
 

>
> Usually if you're not seeing the test reports you expect means that this 
> field 
> needs a new pattern to find the XML files, e.g. `build/reports/**/*.xml` 
>

For the other maven jobs, they're going to target/surefire-reports.  I told 
the UI guys to drop them there, but not being picked up.  I'm guessing its 
different?
 

>
>
>
> - R. Tyler Croy 
>
> -- 
>  Code:  
>   Chatter:  
>
>   % gpg --keyserver keys.gnupg.net --recv-key 3F51E16F 
> -- 
>

-- 
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/0d5792fc-0b6d-4dd9-95cd-1b362e09be10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Locating extra junit xml files

2015-11-02 Thread R. Tyler Croy
(replies inline)

On Mon, 02 Nov 2015, John D. Ament wrote:

> My build uses maven to kick off some grunt tasks to test my javascript 
> code.  The grunt tests use jasmine and output junit styled xml files. 
>  These XML files are not picked up in my build in jenkins.  Any idea how I 
> can get jenkins to load these files?


Have you configured a post-build action "Publish JUnit Test Reports" and told
Jenkins where it can find those JUnit XML files?

Usually if you're not seeing the test reports you expect means that this field
needs a new pattern to find the XML files, e.g. `build/reports/**/*.xml`



- R. Tyler Croy

--
 Code: 
  Chatter: 

  % gpg --keyserver keys.gnupg.net --recv-key 3F51E16F
--

-- 
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/2015110740.GJ3079%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: Digital signature


Re: Locating extra junit xml files

2015-11-02 Thread John D. Ament
It would appear I'm 
hitting https://issues.jenkins-ci.org/browse/JENKINS-9980 :-(

On Monday, November 2, 2015 at 5:37:04 PM UTC-5, John D. Ament wrote:
>
>
>
> On Monday, November 2, 2015 at 5:29:07 PM UTC-5, R Tyler Croy wrote:
>>
>> (replies inline) 
>>
>> On Mon, 02 Nov 2015, John D. Ament wrote: 
>>
>> > My build uses maven to kick off some grunt tasks to test my javascript 
>> > code.  The grunt tests use jasmine and output junit styled xml files. 
>> >  These XML files are not picked up in my build in jenkins.  Any idea 
>> how I 
>> > can get jenkins to load these files? 
>>
>>
>> Have you configured a post-build action "Publish JUnit Test Reports" and 
>> told 
>> Jenkins where it can find those JUnit XML files? 
>>
>
> I don't even see that option.  Debugging.
>  
>
>>
>> Usually if you're not seeing the test reports you expect means that this 
>> field 
>> needs a new pattern to find the XML files, e.g. `build/reports/**/*.xml` 
>>
>
> For the other maven jobs, they're going to target/surefire-reports.  I 
> told the UI guys to drop them there, but not being picked up.  I'm guessing 
> its different?
>  
>
>>
>>
>>
>> - R. Tyler Croy 
>>
>> -- 
>>  Code:  
>>   Chatter:  
>>
>>   % gpg --keyserver keys.gnupg.net --recv-key 3F51E16F 
>> -- 
>>
>

-- 
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/db90e734-f7cd-4d6a-9ae4-097b4e2f600e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Locating extra junit xml files

2015-11-02 Thread R. Tyler Croy
(replies inline)

On Mon, 02 Nov 2015, John D. Ament wrote:

> 
> 
> On Monday, November 2, 2015 at 5:29:07 PM UTC-5, R Tyler Croy wrote:
> >
> > (replies inline) 
> >
> > On Mon, 02 Nov 2015, John D. Ament wrote: 
> >
> > > My build uses maven to kick off some grunt tasks to test my javascript 
> > > code.  The grunt tests use jasmine and output junit styled xml files. 
> > >  These XML files are not picked up in my build in jenkins.  Any idea how 
> > I 
> > > can get jenkins to load these files? 
> >
> >
> > Have you configured a post-build action "Publish JUnit Test Reports" and 
> > told 
> > Jenkins where it can find those JUnit XML files? 
> >
> 
> I don't even see that option.  Debugging.


"Add post build action" button at the bottom of the configuration page, the
exact menu item is called "Publish JUnit test result report." It sounds like
this might already be enabled for your jobs though.

> > Usually if you're not seeing the test reports you expect means that this 
> > field 
> > needs a new pattern to find the XML files, e.g. `build/reports/**/*.xml` 
> >
> 
> For the other maven jobs, they're going to target/surefire-reports.  I told 
> the UI guys to drop them there, but not being picked up.  I'm guessing its 
> different?


I'm assuming that the front-end developers are using grunt-junit to generate
the appropriately formatted XML? Jenkins natively speaks JUnit format, there
are additional plugins which add support for parsing different test formats
(e.g. xUnit) but I can't speak to how well they work with Grunt.


- R. Tyler Croy

--
 Code: 
  Chatter: 

  % gpg --keyserver keys.gnupg.net --recv-key 3F51E16F
--

-- 
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/20151102224717.GK3079%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: Digital signature