3

In the Add a custom pipelines task extension Microsoft describe how to create a custom Azure DevOps task extension. Under Step 6: Create a build and release pipeline to publish the extension to Marketplace they show a example of YAML pipeline which should automatically build and publish your custom extension to the marketplace.

The last stage of the YAML pipeline:

 - stage: Download_build_artifacts_and_publish_the_extension
    jobs:
      - job:
        steps:
          - task: TfxInstaller@3
            inputs:
              version: "v0.7.x"
          - task: DownloadBuildArtifacts@0
            inputs:
              buildType: "current"
              downloadType: "single"
              artifactName: "$(ArtifactName)"
              downloadPath: "$(System.DefaultWorkingDirectory)"
          - task: PublishAzureDevOpsExtension@3
            inputs:
              connectTo: 'VsTeam'
              connectedServiceName: 'ServiceConnection' # Change to whatever you named the service connection
              fileType: 'vsix'
              vsixFile: '/Publisher.*.vsix'
              publisherId: '$(PublisherID)'
              extensionId: '$(ExtensionID)'
              extensionName: '$(ExtensionName)'
              updateTasksVersion: false
              extensionVisibility: 'private' # Change to public if you're publishing to the marketplace
              extensionPricing: 'free'

contains the tasks TfxInstaller and PublishAzureDevOpsExtension.

On our Azure DevOps 2019.1 (on premise) server I get the feedback that these tasks are unknown. Also when I try to seek for more information's about this tasks, I do not found anything. Not in the docs, not on the marketplace and not on google.

Where can I find these tasks Microsoft using for there tutorials? Any more information's about them?

Krzysztof Madej
  • 32,704
  • 10
  • 78
  • 107
Mar Tin
  • 2,132
  • 1
  • 26
  • 46

1 Answers1

4

You need to install Azure DevOps Extension Tasks in order to use TfxInstaller and PublishAzureDevOpsExtension.

Krzysztof Madej
  • 32,704
  • 10
  • 78
  • 107