Open volker-raschek opened 1 year ago
@volker-raschek I also experience that ${DRONE_BUILD_STATUS} always prints "success" while {{build.status}} prints either "success" or "failure" depending of the actual result of the pipeline. I would like to use ${DRONE_BUILD_STATUS} in my yml file. Is there a solution for this?
Hi, I noticed that I receive always success emails even when a build has failed. I checked out the mail plugin in detail and find out that there are two environment variables
DRONE_BUILD_STATUS
andDRONE_PREV_BUILD_STATUS
.DRONE_BUILD_STATUS
contains alwayssuccess
andDRONE_PREV_BUILD_STATUS
is not defined. This leads to the issue, that I always get success emails. Here a list of all environment variables passed into the container - some values are marked.Is there an other way to determine the build status of the previous step?
Volker