This broke reporting workflow in a case where an artifact was being reported from a docker container. Previously, Fetching HEAD manually was done in the end, after checking all env variables. In the last change, we were doing an early exit when the git rev-parse command threw an error, not allowing the flow to reach extracting git commit from env variable set in the docker container.
This broke reporting workflow in a case where an artifact was being reported from a docker container. Previously, Fetching HEAD manually was done in the end, after checking all env variables. In the last change, we were doing an early exit when the
git rev-parse
command threw an error, not allowing the flow to reach extracting git commit from env variable set in the docker container.This change restores the previous workflow.