How can I get the PackageVersion from a transfer file step?
br
/alex
How can I get the PackageVersion from a transfer file step?
br
/alex
Hi Alex,
Thanks for getting in touch! You can use the following System Variable:
#{Octopus.Action[StepName].Package.PackageVersion}
This is an Action variable, which means you will need to define the step you are referencing as I have above.
I tested this by creating a transfer package step and adding a script step following it with a write-host and this variable.
Let me know if this helps, or if you have any further questions here.
Best regards,
Daniel
Thx Daniel,
your suggestion worked fine
Hi Alex,
Thanks for the update!
Please donât hesitate to get in touch in the future if you have any other questions.
Best regards,
Daniel
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.