• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Run Maven with the -e switch in Jenkins

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi,

Could some one please give example for setting up maven goal value in Jenkins settings to run Jenkins with the -e or -x switch so that we can see detailed Maven logging while building a project. As I do not have much experience with Maven and Jenkins, I do not know what syntax should be followed while entering value in Goals text field of maven settings page.

Thanks in advance.
 
Sheriff
Posts: 5555
326
IntelliJ IDE Python Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Personally I wouldn't bother with setting the -e or -x Maven switch on my CI system. If I have a build failure that I can't figure out from the normal log provided, then I would run a build locally with the extra debug logging options set.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's just what you said. You add -e to the goals. For example "-e install".

I use the debug flag when troubleshooting the build process itself (vs the application build.) It's rare, but useful.
 
Jay Nash
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks very much Tim Cooke and Jeanne Boyarsky
 
reply
    Bookmark Topic Watch Topic
  • New Topic