Send deployment_status when job starts environment
What does this MR do?
Send deployment_status when job starts environment
The check was if the job has_environment
which results in showing
the environment information when the job stops the environment. This
result in having a blank deployment_status
.
Use starts_environment?
to be the same as the haml we have in 11.3
What are the relevant issue numbers?
Bug introduced in gitlab-org/gitlab-ce#50460
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary Documentation created/updated-
Tests added for this feature/bug -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides Conforms to the database guides
Closes #52614 (closed)
Edited by Steve Xuereb