I configured phing in global tool configuration to be run from vendor folder like so:
but when starting a build, jenkins cannot find phing executable
[workspace] $ phing -buildfile /var/lib/jenkins/jobs/project/workspace/build.xml deploy -logger phing.listener.DefaultLogger context=uat
FATAL: command execution failed.
java.io.IOException: Cannot run program "phing" (in directory "/var/lib/jenkins/jobs/project/workspace"): error=2, No such file or directory