Multiple development teams are developing angular 7 projects built using npm, where package.json
has all its dependencies.
These development teams provide the code to single DevOps team to build the code.
Say, for angular project1 npm install
will install all the dependencies mentioned by package.json that will get installed on jenkins worker node. These dependencies are required to build angular source code with command npm run build
My understanding is,
For angular project2, package.json
may have different version of similar dependencies.
So, npm install
for angular project2 may not install required dependencies on same jenkins worker node, this looks like an issue, because project 1 has installed those dependencies( but with different version).
1) Is it recommended to build multiple angular projects on single worker node(jenkins)?
2) If no, does each angular project build should happen on separate docker container(running Jenkins) to resolve this problem?