-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
-
Red Hat Enterprise Linux Server release 6.1
Kernel 2.6.32-131.4.1.el6.x86_64
Jenkins version 1.423
Fortify 360 Plugin version 2.2.1
Upon running a Jenkins job with the Fortify 360 plugin, I get the following error:
"Cannot locate sourceanalyzer, will skip plotting NVS chart"
Looking at the Fortify 360 plugin's source code at RemoteService.java, it appears that sourceanalyzer is not in the PATH, but the PATH for Jenkins and the PATH for the job has been set explicitly to include /opt/fortify/bin. Running Jenkins in debugging mode and inspecting with IntelliJ reveals that the PATH value the plugin is using has the value "/sbin:/bin:/usr/sbin:/usr/bin" instead of the one that is set by Jenkins, the job, or the jenkins user's environment.