Uploaded image for project: 'TFS Artifactory Plugin'
  1. TFS Artifactory Plugin
  2. TFSAP-22

Add built-in task to get Build Info and/or properties from Artifact

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: 4 - Normal
    • Resolution: Unresolved
    • Labels:
    • Environment:

      ADS with a service connection to Artifactory and an agent with docker installed

      Description

      When promoting a docker image you need to specify the build info of the image you want to promote. There is currently no built-in way to get build info from an existing Artifact.

      The only way of getting build info from an existing Artifact in Artifactory is by using the REST API and getting the `properties` of an artifact.

      Even your youtube video shows the usage of cURL in the process of promoting a docker image:
      https://www.youtube.com/watch?v=3UaqJGXMp8w

      I would like some addition to `Artifactory.server` so you can call something like:
       

      - task: ArtifactoryGetBuildInfo@1 
        displayName: 'Get Build Info From Artifactory' 
        inputs:
          artifactoryService: 'Artifactory Widex'
          artifactName: 'someArtifact'
          repository: 'docker-snapshot-local/cool_Image:coolerTag'
          variableToSave: 'image_build_info'

       
      where `variableToSave` is the name of the variable that will contain the build info.
       
      Maybe the same functionality for getting `properties` of an artifact.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            Dakimaz David Radoor Hummel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: