Package jenkins.plugins.nodejs.cache
package jenkins.plugins.nodejs.cache
-
ClassDescriptionStrategy pattern that decides the location of the NPM cache location for a build.Uses NPM's default global cache, which is actually
~/.npm
on Unix system or%APP_DATA%\npm-cache
on Windows system.Relocates the NPM's default cache to a folder specific for the executor in the node home folder~/npm-cache/$executorNumber
.Relocates the NPM's default cache to the workspace folder.