Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 474 Bytes

enable_testing_on_Java_Project.md

File metadata and controls

20 lines (16 loc) · 474 Bytes

Enable testing on a Java Project

Pre-requisites

  1. Jenkins server on T2.Medium instance
  2. Maven setup

Procedure:

  1. Install below plug-ins

    1. Junit
    2. FindBugs
    3. PMD
    4. CheckStyle
    5. Static Analysis Collector
  2. Create a Maven Project
    GitHub URL : https://github.com/ravdy/petclinic.git
    Maven Goals: clean package checkstyle:checkstyle findbugs:findbugs pmd:pmd
    Build settings: chose checkstyle, findbugs, pmd

  3. Run you job