I'm using Jenkins (CloudBees) to build my project, and this runs some scripts in each build to download some node packages using npm. Yesterday the npm registry server was having troubles and this blocked the build cycle of the project.
In order not to depend on external servers, is there a way to persist my node_modules
folder in Jenkins so I don't have to download them in every build?