A java/groovy version of Jenkins nvm plugin, it
doesn't require ruby-runtime
to be installed.
- Please follow this steps
-
It was built using gradle 2.3 and Java 1.8
-
'gradle jpi' - Build the Jenkins plugin file, which can then be found in the build directory. The file will currently end in ".hpi".
-
'gradle install' - Build the Jenkins plugin and install it into your local Maven repository.
-
'gradle uploadArchives' (or 'gradle deploy') - Deploy your plugin to the Jenkins Maven repository to be included in the Update Center.
-
'gradle server' - Run a local jenkins to test
- Installs
nvm.sh
- Installs node version configured for job.
- Amends build environment to use configured node version.
Based on :
Jenkins rvm plugin and Jenkins nvm plugin.
Copyright (c) 2017 Tomas Salazar. This software is licensed under the MIT License.
Please fork and improve.