Hi,
Scenario is , I’m using transfer package step to download a jar or ear file artefact from an external maven feed.
From the multiple transfer package steps, how can I get the individual version number of the package?
Hi,
Scenario is , I’m using transfer package step to download a jar or ear file artefact from an external maven feed.
From the multiple transfer package steps, how can I get the individual version number of the package?
Hi @earland,
Thanks for getting in touch! When performing a deployment, Octopus automatically populates some system variables that contain information like package ID, version, and much more that are made available for use. A full list of the system variables available can be found in the following doc page.
You can also enable debugging variables in your project (OctopusPrintVariables
and OctopusPrintEvaluatedVariables
, both with a value of True
) which will write all available variables and what they evaluate to in your deployment task log. You’ll see information similar to this (where Transfer Package
is my step name, and transfer
is my package ID).
I hope that helps give you the information needed! If you have any questions going forward, please don’t hesitate to reach out.
Best regards,
Kenny
Sorry for the late response, but thanks!
Hi @earland,
Not a problem at all! Please don’t hesitate to get in touch anytime if you have any questions or concerns.
Best regards,
Kenny