azdev-release-orchestrator icon indicating copy to clipboard operation
azdev-release-orchestrator copied to clipboard

Feature request: Custom artifact name and version

Open JoostvdB94 opened this issue 4 years ago • 6 comments

Rather than specifying a filter to define what artifacts to use when running a new release, it would be helpful to specify the artifacts to use directly in the release that is running the release orchestrator task.

Certainly in our case this would be helpful as we are not tagging our artifacts.

Please consider adding this feature

JoostvdB94 avatar Sep 01 '20 11:09 JoostvdB94

Hi, thanks for the feedback.

Just trying to get my head around this. Do you want to be able to specify/filter target pipeline build artifact version by name in the orchestrator task? I.e. something like:

- task: releaseorchestrator@2
  displayName: Create release
  inputs:
    projectName: My-Project
    definitionName: My-Release
    artifactVersionFilter: true
    artifactName: My-Build
    artifactVersion: My-Build-20190521.4

image

dmitryserbin avatar Sep 16 '20 06:09 dmitryserbin

Will be added in V2

dmitryserbin avatar Sep 17 '20 05:09 dmitryserbin

Hi @dmitryserbin, Thanks for this feature. Do I understand correctly that the artifact that is specified has to be the primary artifact?

May I suggest another way to specify which artifacts to use when creating a new release? Let's assume there are 2 releases. Release A which uses your plugin to start another release (B). When we want to create release B, it would be nice to specify all the artifacts we want to use in release A (using the UI you posted a screenshot of).

This plugin can then collect all the information about these artifacts (tags, commit id, name) and pass them on to release B. This way, all the artifacts can be specified at the start of release A.

JoostvdB94 avatar Sep 24 '20 06:09 JoostvdB94

Hi @JoostvdB94, yes, the task uses primary build artifact by default. I could add an option to specify the target artifact name. For example artifactVersion: My-Definition=My-Definition-123, so you could target any artifact, not only primary.

dmitryserbin avatar Sep 25 '20 02:09 dmitryserbin

Hi, is there any way to be able to select multiple artifacts and their versions or would I need to wait for this fix?

alexvaccaro avatar May 13 '21 09:05 alexvaccaro

artifactVersion: My-Definition=My-Definition-123

@dmitryserbin What's the format to specify multiple artifact versions? I tried artifactVersion: My-Definition1=My-Definition1-Version,My-Definition2=My-Definition2-Version but won't work. Do we have the support for specifying the versions of multiple artifacts in the referenced release in version 2 yet?

BrendanJiang avatar Dec 15 '21 22:12 BrendanJiang