Commit range environment variable


For pull requests, please consider adding an environment variables that contains the GIT SHA1 of the first commit of the PR, similar to TRAVIS_COMMIT_RANGE of TravisCI.

TRAVIS_COMMIT_RANGE: The range of commits that were included in the push or pull request. (Note that this is empty for builds triggered by the initial commit of a new branch.)


Is there a way to get the commit range without the environment variable? See Get list of commits in build