Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Implementing CI/CD Using Azure Pipelines

You're reading from  Implementing CI/CD Using Azure Pipelines

Product type Book
Published in Dec 2023
Publisher Packt
ISBN-13 9781804612491
Pages 326 pages
Edition 1st Edition
Languages
Concepts
Authors (2):
Piti Champeethong Piti Champeethong
Profile icon Piti Champeethong
Roberto Mardeni Roberto Mardeni
Profile icon Roberto Mardeni
View More author details

Table of Contents (18) Chapters

Preface 1. Part 1:Getting Started with Azure Pipelines
2. Chapter 1: Understanding Azure Pipelines 3. Chapter 2: Creating Build Pipelines 4. Chapter 3: Setting Variables, Environments, Approvals, and Checks 5. Chapter 4: Extending Advanced Azure Pipelines Using YAML 6. Part 2:Azure Pipelines in Action
7. Chapter 5: Implementing the Build Pipeline Using Deployment Tasks 8. Chapter 6: Integrating Testing, Security Tasks, and Other Tools 9. Chapter 7: Monitoring Azure Pipelines 10. Chapter 8: Provisioning Infrastructure Using Infrastructure as Code 11. Part 3:CI/CD for Real-World Scenarios
12. Chapter 9: Implementing CI/CD for Azure Services 13. Chapter 10: Implementing CI/CD for AWS 14. Chapter 11: Automating CI/CD for Cross-Mobile Applications by Using Flutter 15. Chapter 12: Navigating Common Pitfalls and Future Trends in Azure Pipelines 16. Index 17. Other Books You May Enjoy

Working with .NET Core CLI tasks

For .NET applications, you must use .NET Core CLI commands to build and deploy .NET applications. There are many predefined tasks to build .NET applications in an Azure pipeline. Follow these steps to create a pipeline using .NET Core CLI tasks:

  1. Follow steps 1 to 3 from the previous section for Node.js and NPM tasks.
  2. Select Starter pipeline:
Figure 5.8 – Selecting the Starter pipeline option

Figure 5.8 – Selecting the Starter pipeline option

  1. Rename the file from the default name to make it easier to understand what the YAML file is for:

Figure 5.9 – Renaming a pipeline file

Figure 5.9 – Renaming a pipeline file

  1. Select the Use .NET Core task and click Add:
Figure 5.10 – Selecting the Use .NET Core task

Figure 5.10 – Selecting the Use .NET Core task

  1. Update the version property to use .NET 6:

Figure 5.11 – Updating the .NET version

Figure 5.11 – Updating the .NET version

  1. Select the .NET Core task and click on Add:
...
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 €14.99/month. Cancel anytime}