(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: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>

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

Attachment: signature.asc
Description: Digital signature

Reply via email to