DRONE_STAGE_STATUS

Provides the status for the current running pipeline. If all pipeline steps are passing, the pipeline status defaults to success.

DRONE_STAGE_STATUS=success
DRONE_STAGE_STATUS=failure