English 中文(简体)
Installing and Configuring Mercurial on Jenkins application -OpenShift
原标题:

Any hints on how doing this? I tried with the auto-install from a downloaded zip from this here, extracted here: OPENSHIFT_DATA_DIR/hg and executable location here: OPENSHIFT_DATA_DIR/jenkins/data/tools/Mercurial/mercurial-2.2.1/bin/hg

I m doing something wrong for sure, I m not Linux saavy. Jenkins says is unable to find mercurial executable.

Any help is more than welcomed.

最佳回答

Here s the answer from here:

Thanks for the email discussion.

Mercurial includes a README which explains a couple of modes of execution:

Basic install:

$ make # see install targets $ make install # do a system-wide install $ hg debuginstall # sanity-check setup $ hg # see help

Running without installing:

$ make local # build for inplace usage

$ ./hg --version # should show the latest version

"make install" will not work as it attempts to do a system-wide install. The user on the gears will not have access to write to system files. "make install-home" will not work either.

"make local" works and will install it in cwd such that running the following will should work just fine:

./hg --version
Mercurial Distributed SCM (version 2.2.1)
(see http://mercurial.selenic.com for more information)
问题回答

暂无回答




相关问题
Can I clone part of a Mercurial repository?

Is it possible to clone part of a Mercurial repository? Let s say the repository is quite large, or contains multiple projects, or multiple branches. Can I clone only part of the repository? E.g. in ...

Sync files in Two Different Repos using HG

I ve got a problem when I try to sync files in two different repos. What I want to do is: I ve got 2 repos A and B, and they share some common files, suppose they lie in A/docs/common/ and B/docs/...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

git for mercurial like git-svn

Hello is there a tool for git that allow to work with mercurial repositories F.e. for svn there is a git-svn package, that allows to clone/commit/update from svn and work in a git way.. So is there ...

Useful Mercurial Hooks [closed]

What are some useful Mercurial hooks that you have come across? A few example hooks are located in the Mercurial book: acl bugzilla notify check for whitespace I personally don t find these very ...

热门标签