Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Azure Functions

You're reading from  Learning Azure Functions

Product type Book
Published in Sep 2017
Publisher Packt
ISBN-13 9781787122932
Pages 240 pages
Edition 1st Edition
Languages
Concepts
Toc

Continuous Integration


Continuous Integration is one of the most popular and core DevOps practices. Continuous Integration is a practice where code is committed to a shared repository such as Git, and the committed code is verified against static code analysis, automated build, and unit test cases.

  1. Let's create a build definition.
  2. Click on the Git repository and click on Set up build:
  1. Select a template Azure Web Appand click on Apply:
  1. Keep only Get sources and Publish Artifact tasks.
  2. Click on Add Task and add Copy Files task to the Build definition:
  1. We want to copy all the files available from the Azure Functions project.
  2. Provide the details for Target Folder:
  1. Publish Artifact is used to make available files to be used in the Release definition:
  1. In the Triggers section, enable the Continuous Integration trigger. Now, if any new code is checked in, then Continuous Integration will take place:
  1. Click on Save. Our Build definition is ready.

In the next section, we will create the Release definition.

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 $15.99/month. Cancel anytime