i am writing a custom pipeline template for our maven/java pipelines.
All projects shold inherit some stages via include:
include:
- project: 'markus/pipeline-template-java'
file: '.gitlab-ci.yml'
I can fix the version with e.g. ref: tags/v1 but ideally, I want it floating and be updated whenever the template changes (ref defaults to HEAD of the default branch)
But now I don't know which exact version was underlying. I would like to print the parent's commit-hash while the script is running.