Documentation for mercurial specific environment variables
... if there are any.
gitlab-runner has a bunch of variables exposed https://docs.gitlab.com/ee/ci/variables/ some of them are git specific.
For example :
export CI_COMMIT_SHA="1ecfd275763eff1d6b4844ea3168962458c9f27a"
export CI_COMMIT_SHORT_SHA="1ecfd275"
in the documentation. I imagine that for now these variables are git, but not hashes for mercurial.
Any chance of having mercurial tags, topics names, bookmarks etc. ? (maybe that's a separate issue on heptapod?)