The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

Pipeline NPM Integration Plugin

withNPM: Provide NPM environment

Configures npm environment to use within a pipeline job by calling sh npm or bat npm. The selected npmrc will be configured and placed in the path so as to override the user and global settings.
  • npmrcConfig : String (optional)
    Select an npmrc from File Config Provider. The npmrc contains configuration values for npm. npm performs a lookup order starting in the current directory, then user, then global. By choosing a specific provider, individual builds will be able to override settings and have them managed centrally as a config file provider.

    see also: npmrc reference

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?


See existing feedback here.