Retrieve and store wrapper git repo hash
Currently git repositories are checkout out according to the value of the workflow_checkout
attribute. Since any valid value for git checkout
can be supplied in workflow_checkout
, this means that we can't always retrieve the definite git checkout hash used for a particular pipeline run (for example if workflow_checkout
's value is master
).
The init_job
script should be updated so that the definite commit hash is also retrieved and stored.