Azure-devops-docs: Export URI as environment variable

Created on 1 Jul 2019  Â·  7Comments  Â·  Source: MicrosoftDocs/azure-devops-docs

I would like to be able to parse the returned URI from this plugin and use it as a build argument for a Docker image


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 devops-cictech devopprod doc-bug stale-issue

Most helpful comment

@casparjespersen this is possible today - the task sets the PIP_EXTRA_INDEX_URL, which you can use with Docker. I've got an example of this here: https://www.noelbundick.com/gists/consuming-packages-from-a-private-azure-pipelines-python-artifact-feed/

@WilliamAntonRohm I believe this is a docs issue rather than a product issue. Can we get it added/documented that PIP_EXTRA_INDEX_URL is set as a result of the PipAuthenticate@0 task? If that's autogenerated via the tasks repo, I can open an issue/PR there

All 7 comments

Thanks for the suggestion! The product teams aren’t always watching this repository, so to make sure it gets in front of them for triage, please submit your idea here.

@casparjespersen this is possible today - the task sets the PIP_EXTRA_INDEX_URL, which you can use with Docker. I've got an example of this here: https://www.noelbundick.com/gists/consuming-packages-from-a-private-azure-pipelines-python-artifact-feed/

@WilliamAntonRohm I believe this is a docs issue rather than a product issue. Can we get it added/documented that PIP_EXTRA_INDEX_URL is set as a result of the PipAuthenticate@0 task? If that's autogenerated via the tasks repo, I can open an issue/PR there

@WilliamAntonRohm Thank you for mentioning this workaround.

@davidstaheli -- please look into adding this information to the documentation.

@davidstaheli -- please consider this request.

@chasewilson could you add this to the docs backlog? Thanks everyone.

This issue hasn't been updated in more than 180 days, so we've closed it. If you feel the issue is still relevant and needs fixed, please reopen it and we'll take another look. We appreciate your feedback and apologize for any inconvenience.

Was this page helpful?
0 / 5 - 0 ratings