Jenkins : Nvm Wrapper Plugin

Plugin Information

View nvm-wrapper on the plugin site for more information.

Allows you to easily install, manage, and work with multiple Node.js environments

Features

  • Installs nvm.sh
  • Installs node version configured for a job.
  • Amends build environment to use configured node version.

Potential upcoming features

  • Use the .nvmrc-file
  • Make code compatible with Java 7

    

Requirements

Setup

Install plugin

Install this plugin via the Jenkins plugin manager.

Per-job config

  1. Enable build to run in nvm environment
  2. Configure the node version 
  3. Add a shell command. There is not need to install modules globally 
     

Version history

Version 0.1.7 (Abril 2019)

Version 0.1.6 (Aug 2018)

  • Provide a way to customize NVM installation settings.

Version 0.1.5 (Feb 2018)

Version 0.1.4 (Jul 2017)

  • Fix  JENKINS-45784 - Home Directory it's wrong on slaves Resolved

Version 0.1.3 (Jun, 2017)

  • Add pipeline support


  • Fix  JENKINS-45079 - NVM_NODEJS_ORG_MIRROR=null causes `nvm install` to always fail Closed


Version 0.1.2 (May, 2017)


Version 0.1.0 (Aug, 2016)

  • Initial release

Github Repo