Locates an executable that's already on the PATH and sets the tool home relative to that. Fails if the executable is not already on the PATH.

Optionally runs a command with arguments to determine the version, parses the command output, and verifies that the reported version is in the specified range.

Note: This does not install anything. It's purpose is to allow nodes to avoid installing things they already have, or to fail builds before they run on a node lacking a needed tool. If combined with the "Any of..." installer, the "fail" can trigger a real installation.

For example, if the executable name is "foo", the relative path is "../bar" and the executable can be found in the PATH at "/usr/local/bin/foopackage/bin/foo", then Jenkins will be told that the tool's HOME directory is "/usr/local/bin/foopackage/bar" (as that is /usr/local/bin/foopackage/bin/../bar). If "foo" is not on the PATH then the installation method will fail.