Submit Your Ideas

We want to hear from you - vote for the features and improvements you'd most like to see, or submit your own ideas if you don't find them already listed.

CIRCLE_TARGET_BRANCH env var

It would be nice to be able to see which branch the current PR is targeted and it seems there have been a few people so far requesting this feature,: https://discuss.circleci.com/t/create-a-circle-target-branch-envar/10022https://discuss.circleci.com/t/add-environment-varible-circle-pr-base-branch/6189, and I have seen more places where this feature has been mentioned. Other CIs provide this information and it would also make it easier to fulfill use-cases like: https://circleci.com/ideas/?idea=CCI-I-208 in a very generic manner.

 

Our specific use case would be, I want to be able get the full commit range range of the current PR, so even when a new commit is pushed that triggers a new build it would show the full commit range from the first commit and not just the range form the previous build/commit.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Sep 4 2018
  • Future consideration
  • Attach files