-
Bug
-
Resolution: Not A Defect
-
Major
-
Unix Slave
java.version:- 1.8.0_144
os.name:- Linux
os.version:- 3.13.0-135-generic
PATH:- /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PWD:- /root
SHELL:- /bin/bash
NodeJS plugin doesn't install version specified on Slave
Job Configuration
Job Console Output
NodeJS Plugin Config
This happens because you have already a NodeJS installed in the machine and its bin path is before that one contributed by the plugin in the PATH variable. The only way is to uninstall embedded NodeJS installation, because by design any tool path is always append at the end to the system PATH variable.