Mercurial Plugin

Use the Mercurial plugin to clone a mercurial repository. Note that Drone uses this plugin by default for all Bitbucket mercurial repositories, without any configuration required. You can override the default configuration with the following parameters:

  • path relative path inside /drone/src where the repository is cloned

The following is a sample Git clone configuration in your .drone.yml file:

clone:
  image: hg
  path: bitbucket.org/foo/bar
This website is a public GitHub repository, which is forked from upstream Drone CI documentation. Please help us by forking and improving upstream Drone CI documentation or Tea CI documentation.