Environment variable for rebuilds


#1

We have some issues with flaky specs and it would be nice to have an environment variable CIRCLECI_REBUILD that is set if a build is rebuilt. That way we could enable more verbose logging for that build and inspect them.


Differentiate "build" and "rebuild"
#3

+1 . Will be helpful.


#4