In VSTS I have a release pipeline that executes a TaskGroup and this TaskGroup has different versions.
What I'm trying to do is every time the pipeline runs, get this value in my code to have a detailed log of what Version was used in each deployment. Another option could be sending it to a blob and later reading from there, but the first step is accessing the Version used in the pipeline.
This is the Version I'm refering to: