-
New Feature
-
Resolution: Unresolved
-
Trivial
-
None
This issue is a follow up of JENKINS-30615.
Maven plugin allows to define a global default settings file (thanks to config-file-plugin) like this:
Thanks to this, the pipeline Maven step can be simply defined as:
withMaven(){/*...*/}
This simple block will automatically use the global settings file.
It would be great if nodejs-plugin provided the same feature for .npmrc files provided by config-file-plugin.
It would allow in this case to replace this:
nodejs(configId: 'default-global-config') {/*...*/}
With:
nodejs() {/*...*/}
- relates to
-
JENKINS-30615 Allow specifying global NMP settings
- Closed