theblindprophet
theblindprophet

Reputation: 7927

How to specify Artifact version name in Azure DevOps?

I have a build and release pipeline in Azure DevOps. The build has archive and publish steps.

enter image description here

And then the release picks up the archives to deploy them.

enter image description here

The build has a parameter where I specify the environment, changing some of the build command arguments. So the build can easily create archives for different environments.

I then have a release for each environment, but I cannot tell which archive belongs to which environment because the version is determined by today's date plus a number.

Is there a way to specify the version number for an archive or see the archive names in the selection so I can determine which artifacts came from certain build environments?

Upvotes: 4

Views: 8552

Answers (1)

Shayki Abramczyk
Shayki Abramczyk

Reputation: 41545

The Version pick list format (the date & number) is taken from the Build Number format, so just add your variable to there:

Build Options page

Upvotes: 4

Related Questions