O'Reilly logo

Jenkins: The Definitive Guide by John Ferguson Smart

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Build Pipelines and Promotions

Continuous Integration is not just about automatically building and testing software, but can also help in the broader context of the software product development and release life cycle. In many organizations, the life of a particular version of an application or product starts out in development. When it is deemed ready, it is passed on to a QA team for testing. If they consider the version acceptable, they pass it on to selected users for more testing in a User Acceptance Testing (UAT) environment. And if the users are happy, it is shipped out into production. Of course, there are almost as many variations on this as there are software development teams, but one common principle is that specific versions of your software are selected, according to certain quality-related criteria, to be “promoted” to the next stage of the life cycle. This is known as build promotion, and the broader process is known as a build pipeline. In this section, we will look at how you can implement build pipelines using Jenkins.

Managing Maven Releases with the M2Release Plugin

An important part of any build pipeline is a well-defined release strategy. This involves, among other things, deciding how and when to cut a new release, and how to identify it with a unique label or version number. If you are working with Maven projects, using the Maven Release plugin to handle version numbers comes as a highly recommended practice.

Maven projects use well-defined and well-structured ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required