Jenkins uses Checkstyle, coverage, PMD, findbugs plugin

Source: Internet
Author: User
Tags compact disk usage git client testlink checkstyle

1. After installation start Jenkins, in Manage Jenkins, select Manage plugin, install related available in Plugins tab

FindBugs Plug-in
This plug-in collects the FindBugs analysis results of the project modules and visualizes found.
If you like this open source plug-in consider supporting I work by buying my Android game Inca.

Jenkins Cobertura Plugin
This is plugin integrates Cobertura coverage reports to Jenkins.

PMD Plug-in
This is plug-in collects the PMD analysis results of the project modules and visualizes the found.
If you like this open source plug-in consider supporting I work by buying my Android game Inca.

Checkstyle Plug-in
This plug-in collects the Checkstyle analysis results of the project modules and visualizes found.
If you like this open source plug-in consider supporting I work by buying my Android game Inca.

Jenkins Sonar Plugin
Quickly benefit from Sonar, a Open-source dashboard based on many analysis tools like Checkstyle, PMD and Cobertura.
The reality is to download the corresponding *.HPI/*.JPI file to the local $jenkins_home/plugins directory.

If you can't see anything inside the available, remember to advanced to see if it's proxy,update OK. You can also manually download the corresponding plugin and then download the file to the $jenkins_home/plugins directory.

If you are interested in plugin news, you can focus on the plugin version of RSS (orhere) or Twitter.


2. Inside the Manage Jenkins, configure system, configure sonar information


3. Create a new job, or click Configure in an already job (where I created the freestyle job)

3.1 Configure the Maven generate site, Project Pom itself to ensure that there is a Goals configuration (options:deploy site)


Note: Because sonar will also do CHECKSTYLE,PMD and so on test, I have tried to use only the results provided by sonar (Gole to MVN deploy-dskiptests=true), the result jekins Checkstyle PLUGIN,PMD plugin cannot parse the Checkstyle PMD XML generated by sonar, weighing down, only retained the Sonar's

3.2 Configuration plugins, in post-build actions inside Select Checkstyle,findbus,pmd,publish Cobertura coverage (pattern: **/coverage*. XML), at the same time you can configure the sonar, the right part of the image below PS: These plug-ins can be dragged free to adjust the order of execution, configuration after the job can see more findbugs, Sonar, and so on link, the left part of the figure.


4. If the load build succeeds, you can see the specific information of the corresponding plugin on the job page.


Jekins Installation Plugin

Https://wiki.jenkins-ci.org/display/JENKINS/Plugins


Other common Plug-ins

Ant Plugin
This is plugin adds Apache Ant support to Jenkins.

Blame upstream Committers
A Simple plugin which allows downstream jobs to mail upstream committers the build fails.

Build Graph View Plugin
This plugin visualize builds relations as a graph.

Build Pipeline Plugin
This is plugin renders upstream and downstream connected jobs that typically form a build pipeline. In addition, it offers the ability to define manual triggers for jobs This require intervention prior to execution, e.g. a n approval process outside of Jenkins.

Build-name-setter
This plug-in sets the display name of a builds to something other than #1, #2, #3, ...

Build-timeout Plugin
This plugin allows builds is automatically terminated after the specified amount of time has.

Change Log History
This plugin copies the change log data to a later builds when a builds is deleted.

Claim Plugin
Allow users to claim failed builds.

Compact Columns
More compact columns to showing last success and failure. Easier to understand, and takes less room in your view.

Conditional-buildstep
A buildstep wrapping any number of the other buildsteps, controlling their execution based on a defined condition (e.g. BUILDP Arameter).

Configuration slicing Plugin
Perform mass configuration of select project properties, including email, timer, discard old builds, and Maven Configurati On.

Credentials Plugin
This plugin allows your to store credentials in Jenkins.

Dashboard View
Customizable dashboard that can present various the views of job information.

Dependency Graph Viewer Plugin
This plugin shows a dependency graph of the projects. It uses dot (from Graphviz) for drawing.

Display Upstream Changes
Display Upstream changes plugin.

Downstream Buildview Plugin
This plug-in allows your to view the "full status" of the downstream builds so we can graphically and that everything F Or this build has been completed successfully.

Environment Injector Plugin
This is plugin makes it possible to set a environment for the builds.

Fail the Build Plugin
Set or change the builds result to test job configurations-notifiers, publishers, promotions, build pipelines, etc.

Favorite
This plugin allows the users to favorite a job.

Git Plugin
This is plugin integrates GIT with Jenkins.

Green Balls
Because Green is better than blue! For color blind support Configure the user property.

Hudson Grinder Plugin
This plugin would parse log files from the grinder performance tests.

Hudson Locks and Latches plugin
This is plugin adds locking and latch functionality to Hudson.

Hudson Personal View
This plugin provides a view where the selection's jobs to this view are attached to a user

Hudson Post Build Task
This plugin allows to execute a Batch/shell task depending in the build log output.

Javadoc Plugin
This is plugin adds Javadoc support to Jenkins.

Jenkins Description Setter Plugin
This is plugin sets the description for each build, based upon a RegEx test's the build log file.

Jenkins Disk-usage Plugin
This plugin counts disk usage.

Jenkins GIT Client Plugin
Shared Library plugin for the other Git related Jenkins plugins.

Jenkins Multijob Plugin
This plugin is a multijob plugin.

Jenkins SSH Slaves Plugin
This plugin allows your to manage slaves running on \*nix over SSH.

Jenkins User Build VARs Plugin
This plugin was used to the set user build Variables:jenkins the user name and ID.

Jobconfighistory Plugin
Job History plugin for Jenkins.

Join Plugin
This is plugin allows a job to being run all the immediate downstream jobs have completed.

Mailer
This plugin allows your to configure email notifications. This is a break-out of the original core based email component.

Maven Project Plugin
Jenkins Plugin for building Maven 2/3 jobs via a special project type.

Monitoring
Hudson/jenkins ' monitoring with javamelody. Open after installation.

Monitoring external jobs
Adds the ability to monitor the result of the externally executed jobs.

Nested View Plugin
The View type to allow grouping the job views into multiple levels instead of the one big list of tabs.

Node and Label parameter plugin
This is plugin adds two new parameter types to job Configuration-node and label, this allows to dynamically select the node Where a job/project should be executed.

Parameterized Trigger Plugin
This plugin lets your trigger new builds when your builds has completed, with various ways of specifying of New build.

Performance Plugin
This is plugin integrates JMeter reports and the JUnit reports to Hudson.

Plot Plugin
This plugin provides generic plotting (or graphing) capability.

Priority Sorter Plugin
This is plugin allows for the "build \" is sorted based on pre-assigned for each job.

Radiator View Plugin
Adds a new high visibility view of project status.

Run Condition Plugin
Core conditions to select whether to execute a builds step or publisher. Used by the [flexible Publish Plugin] and the [Conditional BuildStep].

SCM API Plugin
This is plugin provides a new enhanced API for interacting with SCM systems.

Sectioned View Plugin
Adds a new view that can is organised into different sections.

SSH Agent Plugin
This is plugin allows to provide SSH credentials to builds via a ssh-agent in Jenkins.

SSH Credentials Plugin
This plugin allows your to-store SSH credentials in Jenkins.

SSH Plugin
This plugin executes shell commands remotely using SSH protocol.

Static Analysis Utilities
This is plug-in provides utilities for the static code Analysis Plug-ins.
If you like this open source plug-in consider supporting I work by buying my Android game Inca.

Subversion Plugin
This is plugin adds the Subversion support (via Svnkit) to Jenkins.

Testlink Plugin
This plugin integrates Jenkins and Testlink.

Thinbackup
Backups the most important global and job specific configuration files.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.