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
Continuous Integration, Delivery, and Deployment

You're reading from  Continuous Integration, Delivery, and Deployment

Product type Book
Published in Oct 2017
Publisher Packt
ISBN-13 9781787286610
Pages 458 pages
Edition 1st Edition
Languages
Author (1):
Sander Rossel Sander Rossel
Profile icon Sander Rossel
Toc

Table of Contents (15) Chapters close

Preface 1. Continuous Integration, Delivery, and Deployment Foundations 2. Setting Up a CI Environment 3. Version Control with Git 4. Creating a Simple JavaScript App 5. Testing Your JavaScript 6. Automation with Gulp 7. Automation with Jenkins 8. A NodeJS and MongoDB Web App 9. A C# .NET Core and PostgreSQL Web App 10. Additional Jenkins Plugins 11. Jenkins Pipelines 12. Testing a Web API 13. Continuous Delivery 14. Continuous Deployment

Jenkins

We now have our code, our unit tests with code coverage, our E2E tests, and our database test. Time to get it to work in Jenkins. First, we must commit everything to Git. We need the three folders in the same Git repository though (strictly, we do not, but it makes everything so much easier). It is a good idea to create a new Git repository using GitLab. I have named it web-shop-csharp. Clone the web-shop-csharp repository to your machine and put web-shop, web-shop-tests, and web-shop-selenium in the repository. You will now have over 4,000 files to commit. Create (or copy) a .gitignore file so we exclude some generated files. Those include Bower and npm files, generated JavaScript, CSS files, and test results. You will be left with less than 100 files (69 if you followed my exact directions):

**/bin/**
**/obj/**
**/TestResults/**
**/node_modules/**
**/bundles/**
**/wwwroot...
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