-
Bug
-
Resolution: Duplicate
-
Critical
-
None
-
Jenkins 2.32.2 LTS
NodeJS Plugin 1.1.2
I see other issues here that report of conflicts with EnvInject and/or MultiJob. Both are required for our company's usage.
Simple functional test job in Jenkins configured as:
- [*] Provide Node & npm bin/ folder to PATH
- Execute Shell Script
echo $PATH which node which npm npm install -g bower
Fails to include appropriate NodeJS installation in PATH:
Started by user Charles Blaine [EnvInject] - Loading node environment variables. Building remotely on etc-jenkins-rh7-1 (rh7 rhel7 ruby20) in workspace /var/lib/jenkins/workspace/R701-Data/BowerTest [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Done [BowerTest] $ /bin/bash -xe /tmp/hudson2605021362659101820.sh + echo /usr/local/bin:/usr/bin /usr/local/bin:/usr/bin + which node which: no node in (/usr/local/bin:/usr/bin) Build step 'Execute shell' marked build as failure Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds Finished: FAILURE
- duplicates
-
JENKINS-26583 Env-inject plugin suppress variables contributed by extension points
- Resolved