- using a private CI Mercurial repository
- 10.9.15 10:43
-
Edit .hg/hgrc file and add the path to CI mercurial repository as "ci". I am running a Jenkins instance, and I publish the CI-local mercurial repositorties on my private CI server.
[paths]
default = https:// ...
ci = http://.../mercurial/ci-repo-name/
[phases]
publish = False
On CI server also edit the .hg/hgrc file:[phases]
publish = False
This ensures that when you push changes to CI repo, they will not appear as "public" in your working repository: so that you can still rewrite history and push to CI to verify, etc. (Only when CI is green you would push to "default" repository: only then your changesets would turn into 'public'.)