I recently installed Jenkins, using Homebrew. I also installed Mercurial using Homebrew.
I can successfully clone an hg repo just fine - from Terminal. But if I try
There should be no space on either side of = in following PATH modification: PATH="/usr/local/bin:$PATH"
I added it to my pre-build step on Jenkins installed on macOS.