Редагувати

Поділитися через


Share your Artifacts with package badges

Azure DevOps Services | Azure DevOps Server 2022 - Azure DevOps Server 2019

With Azure Artifacts, you can share your packages anywhere you can share an image by using package badges. You can embed package badges directly into your project's home page or in any Markdown file for your customers to easily find and download your packages.

Enable package sharing

Note

You must be a feed administrator to enable package sharing.

  1. Select Artifacts, and then select your feed from the dropdown menu. Select the gear icon gear icon to access the Feed settings.

    A screenshot showing how to navigate to the feed settings

  2. Find the Package sharing section and select the checkbox to Enable package badges.

    A screenshot showing how to enable package badges

Create a package badge

With package-sharing enabled, you can create a badge for any package in your feed. But you can only create a badge for the latest version of each package.

  1. From within your feed, select your package and then select Create badge.

    A screenshot showing how to create a new package badge.

  2. Select a Feed view for your package badge. If you're using release views, select the view that contains the packages you want to share.

    A screenshot showing the create a package badge panel.

  3. You can now share your package by using the Markdown snippet or the direct image link.