Over a million developers have joined DZone.

Five Perspectives for Boosting Jenkins Productivity

Many articles have been written with perspectives on how to boost Jenkins productivity. Here we share some of our favorites.

· DevOps Zone

The DevOps zone is brought to you in partnership with Sonatype Nexus. The Nexus suite helps scale your DevOps delivery with continuous component intelligence integrated into development tools, including Eclipse, IntelliJ, Jenkins, Bamboo, SonarQube and more. Schedule a demo today

Jenkins, an open-source Continuous Integration tool, is easy to setup and configure. You will have better results and save time using it if you know the tips, tricks, and settings to optimize your installation and usage.

Many articles have been written with perspectives on how to boost Jenkins productivity. Here, we share some of our favorites.

1. Getting Started: A Beginners Guide

Sauce Labs, an automated testing cloud for web and mobile applications, has a great article A Getting Started Guide to Setting Up Jenkins. The guide includes the steps needed for designing and establishing standards for your CI architecture, locating important plugins, configuring system settings, and deploying your first CI pipeline.

2. Plugin Recommendations to Get More From Jenkins

Jenkins is interconnected with well over 1,000 plugins that allow Jenkins to integrate with most development, testing, and deployment tools.The Sauce Labs article above recommends tools like Git (to integrate GitHub to clone repository), Slack, and Thinbackup (which backs up the global and job-specific configurations). You should also be sure to check out this list from DevOps.com that gives 15 suggestions for increasing Jenkins productivity and management.

3. Jenkins 2.0 and Pipeline

Jenkins 2.0, released in April, can be installed with some bundled plugins which should be enough to cover the majority of Continuous Integration and Continuous Delivery tasks for almost any software project.

The largest change in Jenkins 2,0 is the new Pipeline feature, which has been added as the default plugin. It enables you to build Jenkins jobs in the form of simple text scripts (in fact it’s custom DSL on top of Groovy language). Instead of defining the steps in the Jenkins UI, you can orchestrate your Continuous Integration processes from commit to delivery using powerful pipeline scripts (which are version-control-systems friendly and human readable) and then track their progress and status directly in the Jenkins job dashboard.

Read more about Jenkins 2.0 and Pipeline in articles by our own Dmitri Tikhanski, CloudBees’s Top 10 Best Practices, and articles from RedHat and Sauce Labs.

4. Jenkins and APM

Within the continuous integration and delivery process, application performance management (APM) can play an important part of build, unit, regression and load tests to drive the automated acceptance testing before new code is pushed to production. The good news is that Jenkins has plugins with several of the leading APM options available. Take a look a CA’s article about the CA APM Jenkins plugin, which “not only allows you to pull APM performance data into Jenkins but also allows you to publish key attributes like build number, status etc to CA APM.” You can also find Jenkins plugins for AppDynamics, Dynatrace AppMon, and New Relic.

5. Load and Performance Testing With Jenkins

Adding performance tests to your CI scope will help you reduce the risk of performance degradations whenever you add a new feature or fix a bug on your product. Jenkins is a really good CI tool for integrating load and performance testing into the CI process.

We’ve detailed how to do so in depth, looking at it from a few different angles. See for example:

  1. How to Run Apache JMeter - The Leading Open-Source Load Testing Tool - With Jenkins
  2. Running a JMeter Test via Jenkins Pipeline
  3. You can also find plugins with other open source load testing tools such as Gatling and Grinder.
  4. Automated Performance Tests in Jenkins CI environments via the open-source test automation tool Taurus.

If you’re a BlazeMeter user, you can use BlazeMeter's Jenkins Plugin to kick off a test in the BlazeMeter cloud directly from Jenkins. 

We hope these different perspectives help you get more from your Jenkins CI experience and help to boost productivity!

If you have any questions, or would like to suggest additional articles that you found insightful and informative.please leave them in the comments section below.

The DevOps zone is brought to you in partnership with Sonatype Nexus. Use the Nexus Suite to automate your software supply chain and ensure you're using the highest quality open source components at every step of the development lifecycle. Get Nexus today

continuous integration,jenkins,blazemeter,devops

Published at DZone with permission of Jason Silberman. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}