Base solution for your next web application
Open Closed

CI/CD Pipeline Setup #9706


User avatar
0
jtallon created
  • What is your product version? 8.9
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? .netCore

Hi Folks,

What is the preferred setup for CI/CD for the angular project?

We wish to build once and deploy to multiple environments.

How best to achieve this?


3 Answer(s)
  • User Avatar
    0
    zony created
    Support Team

    Hi jtallon, You can use GitLab or Jenkins to integrate the CI/CD feature, which has nothing to do with the ABP framework. e.g.: GitLab Jenkins-1 Jenkins-2

  • User Avatar
    0
    jtallon created

    Hi Zony,

    We're using Azure DevOps.

    We can build the Angular project multiple times and deploy each artifact to a different environment. However this isn't good practice.

    We would really like to build the angular project once and then deploy that one build to multiple environments.

    The isse we have at the moment is that the angular project requires us to run different publish commands for each enviroment.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @jtallon

    I don't have much knowledge about CI/CD but, if you can publish angular app to a specific folder, you acn check content of that folder fore publish step and ingore this step nex time.

    I assume CI/CD tools probably have better solutions to such use cases. It might be better to check their documentation.