Search code examples
teamcityangular-clioctopus-deploy

Continuous build and deployment of Angular-cli using TeamCity and Octopus


I have developed my Angular 2 application using angular-cli. Now I am planning to deploy the application through Team City and Octopus Deploy. At present all the projects in Team City are ASP.NET MVC so there is no reference to use.

After searching I found that TeamCity.Node plugin is required on Team City to build this app. Are there any other approaches?


Solution

  • You have three options:

    1. Install Node.js and npm on each build agent.
    2. Install Team City plugin that adds a support for npm (like TeamCity.Node that you've mentioned).
    3. Put angular-cli files (and any other required npm packages) into your source control, thus eliminating the need for npm.