Deploying an Angular application with Azure Pipelines

git init
git remote add origin INFORM_THE_REPOSITORY_URL
git add .
git commit -m "Initial commit"
git push origin master
##[error]No hosted parallelism has been purchased or granted. To request a free parallelism grant, please fill out the following form https://aka.ms/azpipelines-parallelism-request
  • 1- Node.js will be installed
  • 2- The application will be build
  • 3- The unit tests will be executed
  • 4- The files will be zipped
  • 5- The artifact will be created
  • 6- The deployment will be done IF build succeeds (in this stage is where the application is being deploying to the App Service in Azure Portal)
  • 7- Where the deployment to acceptance environment can be done (in this example, it is only printing a message, just for demonstration purpose)
  • 8- Where the deployment to the Production environment can be done (in this example, it is only printing a message, just for demonstration purpose)
  • Installing Node version 16
  • Installing angular CLI and building the application (note I’m first using the cd command to open the app folder, and after that I’m installing Angular CLI and building with the --prod command)
  • Running the unit tests
  • Creating the packages to be deployed:
https://github.com/henriquesd/AngularWithAzurePipelines

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Henrique Siebert Domareski

Henrique Siebert Domareski

I've been working with software development with .NET since 2011, and love programming and solve problems using clean code particles.