Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
DevOps for Web Development

You're reading from   DevOps for Web Development Achieve the Continuous Integration and Continuous Delivery of your web applications with ease

Arrow left icon
Product type Paperback
Published in Oct 2016
Publisher Packt
ISBN-13 9781786465702
Length 408 pages
Edition 1st Edition
Languages
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 (10) Chapters Close

Preface 1. Getting Started – DevOps Concepts, Tools, and Technologies 2. Continuous Integration with Jenkins 2 FREE CHAPTER 3. Building the Code and Configuring the Build Pipeline 4. Installing and Configuring Chef 5. Installing and Configuring Docker 6. Cloud Provisioning and Configuration Management with Chef 7. Deploying Application in AWS, Azure, and Docker 8. Monitoring Infrastructure and Applications 9. Orchestrating Application Deployment

Creating built-in delivery pipelines

Jenkins 2 provides a way to create delivery pipelines using a domain-specific language (DSL).

The steps for creating a built-in delivery pipeline are as follows:

  1. Go to the Jenkins dashboard and click on New Item.
  2. Enter an item name, say PetClinic-Pipeline, and select Pipeline, as shown in the following screenshot, and click on OK:

    Creating built-in delivery pipelines

  3. In case you have an existing pipeline available, you can create a new pipeline by copying from it.
  4. Go to Advanced Project Options. For the purpose of learning, input echo 'Hello from Pipeline Demo' in the Script box.
  5. Click on Save to save the configuration:

    Creating built-in delivery pipelines

  6. As we haven't created any stage, we will get a warning, as shown in the following screenshot. However, we can execute the pipeline for demo purposes:

    Creating built-in delivery pipelines

  7. Click on the Build Now. Verify the Console Output. We can see the script execution completing successfully:

    Creating built-in delivery pipelines

Creating scripts

Let's go step by step and learn how we can create a script. To make things...

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 $19.99/month. Cancel anytime
Banner background image