Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
DevOps Bootcamp

You're reading from   DevOps Bootcamp The fastest way to learn DevOps

Arrow left icon
Product type Paperback
Published in May 2017
Publisher Packt
ISBN-13 9781787285965
Length 312 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Mitesh Soni Mitesh Soni
Author Profile Icon Mitesh Soni
Mitesh Soni
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. DevOps Concepts and Assessment Framework FREE CHAPTER 2. Continuous Integration 3. Containers 4. Cloud Computing and Configuration Management 5. Continuous Delivery 6. Automated Testing (Functional and Load Testing) 7. Orchestration - End-to-End Automation 8. Security and Monitoring

Creating and configuring Maven-based JEE web applications

In this section, we will create a Maven-based Jenkins build job that will execute the pom.xml file for compilation, ubit test execution, and creating a package file. So let's begin!

On the Jenkins dashboard, click on New Item:

As it is a Maven-based project, we will select the Maven project template. In case it is an Ant-based application or any other automation task, then we can select the Freestyle project template to create Build Job. Select Maven project and click on OK. It will open the build job configuration page, as shown in the following screenshot:

In Source Code Management, provide a GitHub URL, SVN URL (install the subversion plugin first), or any repository URL. We can also access the code available on the filesystem:

In the Build section, select the Maven Version that we have configured in the Global Tool Configuration section. Provide...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at AU $24.99/month. Cancel anytime