Book Image

Learning Continuous Integration with Jenkins

By : Nikhil Pathania
Book Image

Learning Continuous Integration with Jenkins

By: Nikhil Pathania

Overview of this book

In past few years, Agile software development has seen tremendous growth across the world. There is huge demand for software delivery solutions that are fast yet flexible to frequent amendments. As a result, CI and continuous delivery methodologies are gaining popularity. Jenkins’ core functionality and flexibility allows it to fit in a variety of environments and can help streamline the development process for all stakeholders. This book starts off by explaining the concepts of CI and its significance in the Agile world with a whole chapter dedicated to it. Next, you’ll learn to configure and set up Jenkins. You’ll gain a foothold in implementing CI and continuous delivery methods. We dive into the various features offered by Jenkins one by one exploiting them for CI. After that, you’ll find out how to use the built-in pipeline feature of Jenkins. You’ll see how to integrate Jenkins with code analysis tools and test automation tools in order to achieve continuous delivery. Next, you’ll be introduced to continuous deployment and learn to achieve it using Jenkins. Through this book’s wealth of best practices and real-world tips, you'll discover how easy it is to implement a CI service with Jenkins.
Table of Contents (15 chapters)
Learning Continuous Integration with Jenkins
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Running Jenkins as a standalone application


Installing Jenkins as a standalone application is simpler than installing Jenkins as a service inside a container. Jenkins is available as a standalone application on the following operating systems:

  • Windows

  • Ubuntu/Debian

  • Red Hat/Fedora/CentOS

  • Mac OS X

  • openSUSE

  • FreeBSD

  • openBSD

  • Gentoo

Setting up Jenkins on Windows

There are two ways in which you can set up Jenkins on Windows. One is by using the Jenkins native package for Windows, and the other is through the jenkins.war file.

Installing Jenkins using the native Windows package

The following are the steps to install Jenkins using the native Windows package:

  1. To download the latest stable Jenkins package for Windows go to the link https://jenkins.io/download/.

  2. Once on the page, click on the Download Jenkins link, as shown in the following screenshot:

  3. Now, click on the drop-down button and select Windows.

  4. Once the download completes, unzip the archive file and you will find a setup.exe.

  5. Run the Setup.exe and follow...