I have noticed the
CIRCLE_REPOSITORY_URL variable that CircleCi provides in builds (docs) has changed between v1 and v2. I migrated a project and in v1 I got a format of
https://github.com/company/repo but in v2 I get a format of
email@example.com:company/repo.git. i.e. I now get the ssh clone string. I would argue that the new format isn’t a URL so should be called by a different ENV var name.
The reason this is a problem is that we use this ENV var in a Slack message to the dev team to link to the repo being built, and the link is broken since migrating to v2. Apart from this small thing, the migration was fantastic, the build is 5 minutes faster which we are very happy about.