A List of Reliable Jenkins Plugins for PHP Projects

PHP based projects are becoming larger, with each passing day. The language runs on over a third of the world’s websites. And there is no doubt that it is sure to add wings to ongoing business projects by giving webmasters ability to churn out code easily and efficiently. However, it can be tricky to make PHP based projects run on complex IT environments. So, to this end, there is a server called Jenkins that provides relevant support tools and sophisticated integration technologies to make the process more agile and productive.

Comparing Tablets: Which One is Right for You?

Advantages of Windows 8 Over Windows 7

How to Use a Bluetooth as Walkie Talkie?

As an integration server, Jenkins allows developers to automate the development process through “Jobs”. When integrated with PHP, developers can be benefited from an automated process of project cloning, using Composer to track vendor packages, generating API documentation, working with code coverage reports and so on. It also boasts a thriving plugin system for supporting and building virtually any project.

Change Wi-Fi Password on Windows, Android and iOS

MessageMe; Multimedia Messaging Made Simple with Fun App

In this post, we are focusing on some best in class Jenkin plugins that help enterprises and PHP developers around the world to develop productive PHP powered projects with ease. All the plugins are highly efficient and speed the process of project development.

Improve Your Website’s Performance and Convenience in Windows 8

So, without further ado, let’s discuss about them in detail.

1. xUnit

xUnit is an extremely useful Jenkins plugin which makes it convenient for you to publish and evaluate test results executed while using testing tools in Jenkins. The plugin also records and track xUnit tests and mark them as unstable and fail as per their threshold values. Get it here.

Kindle Fire HD Problems and Solutions

2. Clover PHP

Clover PHP simplifies the process of grabbing code coverage reports from PHP unit. Get it here.

Reliable Social Media Management at Affordable Cost

3. CSS Lint

CSS Lint is a helpful plugin used for integrating web interfaces within your projects. The plugin is easy to use and can be installed without much hassle. All you need is to first install CSS lint on your Jenkins server. And run the below mentioned command to get the CSS lint installed in your server. Get it here.

Download the Best Currency Converter For Free

sudo npm install -g csslint

After the installation, you need to update your build.xml file and define a new target. You need to clearly define the parts you need to be checked or if it should be displayed as an error or warning. For this, the following code can be added within the plugin.

Mobile Design and How Important is it for your Website?

<target name=”csslint” description=”Run the CSSLint tool on CSS files”>
<fileset dir=”${basedir}/src” id=”cssfiles.raw”>
<include name=”**/*.css” />
</fileset>
<pathconvert pathsep=” ” property=”cssfiles.clean” refid=”cssfiles.raw” />
<exec executable=”csslint” output=”${basedir}/build/logs/csslint.xml”>
<arg line=”–warnings=box-model,floats –errors=ids,important –format=lint-xml ${cssfiles.clean}” />
</exec>
</target>

Once you run the command, you need to make some changes within your project configurations on Jenkins. For this, you can go to the project view page and click on the ‘configure’ located on the left side. If you scroll more, you’ll see a block with a title ‘report violations’. In the same table, there is also a record named ‘csslint’, wherein you need to add the report to the recently inputted field.

4. Crap4J Plugin

Crap4J is an efficient plugin which reads all the “crappy methods” and based on which Jenkins generates the trend reports of the crap percentage and provides an in-depth analysis of the current changes. It’s a useful plugin for the users as it gives them an idea about the methods they should be used when they start working on the project. Get it here.

Virtual Graffiti Photo Booth; Useful Technology with Amazing Features

5. Checkstyle

Checkstyle Jenkins plugin is an easy way to generate and analyze trends report for checkstyle, which is an open-source static code analysis program. Get it here.

Common Android Rooting Disasters, And How to Avoid Them

6. JDepend

JDepend is a powerful plugin used for generating reports for builds. The installation of the plugin is absolutely handy. Just follow the below mentioned steps and you are ready to go.

Kindle Fire HD 8.9 Review

Download the JDepend plugin
Enable “Report Jdepend under the “Post-buid actions”
Run a build
View the build when it has been completed, and you’ll observe the JDepend in your sidebar. Get it here.

7. PMD

PMD is an extremely plugin that allows you easily generate trend reports about PMD based projects. PMD is an open-source static code analysis program. Get it here.

How the Blackberry 10 Has Got Them Back in the Game?

8. Violations

Violations is a highly reliable plugin which makes it easy for you to generate static code violation detectors including checkstyle, pmd, cpd, findbugs, codenarc, fxcop, stylecop and
simian. With this plugin, the reports related to PHP_CodeSniffer , PHP Copy/Paste Detector (PHPCPD) , PHP Mess Detector (PHPMD) could easily be detected. Get it here.

Install JDK in Simple Steps

9. PHP_CodeBrowser

With this plugin, it will be easy for you to view browser representation of PHP code with the help of high-quality tools such as PHP_CodeSniffer or PHPMD. Get it here.

How to Make a Java Based Game?

10. PHPLoc

PHPLoc is an efficient way of measuring the size of your PHP project. Get it here.

Wrapping Up

So, there we have it all. The above mentioned list of Jenkins plugins will make developers agile by giving them a platform for rapid development. It means being more responsive by lowering overall cost and efforts.

Author Bio: Maria Mincey is qualified outsource web development professional who is great at delivering focus in her writings. She works for custom PHP development company which delivers most comprehensive web applications and solutions for different industry verticals.