Build id availability

Hi,

I’m trying to see if build id for my deploys available via env variable during deploy?
for example, if I have this build # 2377 running I would like to use #2377 for some tagging in my makefile.
But I have no idea how to access this variable during the deploy. Not sure if this functionality is enabled ?

Thank you,
9999

The build number is passed to the environment as ${DRONE_BUILD_NUMBER}. For reference, here is a list of all environment variables available to your build:
http://docs.drone.io/environment-reference/