[JIRA] [mercurial-plugin] (JENKINS-14996) Jenkins does not find Mercurial that is on the PATH

4 views
Skip to first unread message

alexandrov@i.ua (JIRA)

unread,
Nov 23, 2015, 5:02:04 AM11/23/15
to jenkinsc...@googlegroups.com
Artem Alexandrov commented on Bug JENKINS-14996
 
Re: Jenkins does not find Mercurial that is on the PATH

Affected too, I was making a workaround to make hg work by creating a symlink in /usr/bin from /usr/local/bin, but since mac 10.11 it's not possible. It's SIP doesn't allow to write into /usr/bin. And I'm not able to turn off SIP.

Please fix ASAP.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

alexxxx89@ya.ru (JIRA)

unread,
Apr 20, 2018, 6:31:03 AM4/20/18
to jenkinsc...@googlegroups.com
John Doe commented on Bug JENKINS-14996

Any workarounds for macOS 10.13 and JNLP agent?

This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

wilson.d.bui@hotmail.com (JIRA)

unread,
Jun 18, 2019, 5:20:02 AM6/18/19
to jenkinsc...@googlegroups.com
Wilson Bui updated an issue
 
Jenkins / Bug JENKINS-14996
Change By: Wilson Bui
Attachment: image-2019-06-18-05-19-54-936.png
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

wilson.d.bui@hotmail.com (JIRA)

unread,
Jun 18, 2019, 5:23:04 AM6/18/19
to jenkinsc...@googlegroups.com
Wilson Bui commented on Bug JENKINS-14996
 
Re: Jenkins does not find Mercurial that is on the PATH

Hey guys, thanks for the above posts–you guys helped me get my pipeline off the ground. This affects me too, but it turns on that on Mac Mojave 10.14.5, I was just able to use the above advanced configuration in my slave agent to set the following:

In "/usr/local/bin" there is a default symlink that is installed to points to Mercurial's actual install location at "/usr/local/bin/hg" so when you set the prefix command, it's able to find Mercurial upon startup.

wilson.d.bui@hotmail.com (JIRA)

unread,
Jun 18, 2019, 5:24:03 AM6/18/19
to jenkinsc...@googlegroups.com
Wilson Bui edited a comment on Bug JENKINS-14996
Hey guys, thanks for the above posts–you guys helped me get my pipeline off the ground. This affects me too, but it turns on that on Mac Mojave 10.14.5, I was just able to use the above advanced configuration in my slave agent to set the following:

!image-2019-06-18-05-19-54-936.png!

*Prefix Start Agent Command:* "export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin && "

In "/usr/local/bin" there is a default symlink that is installed to points to Mercurial's actual install location at "/usr/local/bin/hg" so when you set the prefix command, it's able to find Mercurial upon startup.
Reply all
Reply to author
Forward
0 new messages