CIRCLE_COMPARE_URL not set on first build

envars
github

#1

I’ve got CircleCI hooked up to build pull requests (and my master branch) for my project in Github.
I’m using the CIRCLE_COMPARE_URL to detect which changes have happened to decide if certain testing jobs should be skipped or not, adapted from this discussion[1]. But I’ve noticed that CIRCLE_COMPARE_URL is not set / empty on the first build in a branch. Ideally this would be set to a URL comparing the HEAD of the branch to the branch being merged into. Seems like a bug?

[1] Does CircleCI 2.0 work with monorepos?


#2

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.