'Angular ng build time shoot up?

I'm testing ng build --configuration production command:

LOCAL PC:

  • ng build time: 1'06''

  • Build time: 52''

Building time percentage: 78%

enter image description here


INTEGRATION SERVER. JENKINS:

  • ng build time: 2'38''

  • Build time: 59''

Building time percentage: 37%

enter image description here

enter image description here

The question is: what is ng build doing when the app is not being built?

I would like to speed up Jenkins build time, but >1'30 is being spent don't really know where at.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source