Share via

failed to upload package to azure artifacts using azure-pipelines.yml

Anonymous
2023-10-19T13:44:57.4233333+00:00

When I do this

trigger:
- main

pool:
  vmImage: ubuntu-latest

steps:
- task: UsePythonVersion@0
  inputs:
    versionSpec: '3.9'
  displayName: 'Use Python 3.9'

- script: |
    python -m pip install --upgrade pip
    python -m setuptools
    python -m pip install build==1.0.3  twine==4.0.2
    python -m pip install wheel
    python setup.py sdist bdist_wheel
    python -m build
    pip install -r requirements.txt
  displayName: 'Install dependencies'

- task: TwineAuthenticate@1
  displayName: Twine Authenticate
  inputs:
    artifactFeed: '
Azure Machine Learning
Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.


1 answer

Sort by: Most helpful
  1. navba-MSFT 27,620 Reputation points Microsoft Employee Moderator
    2023-10-23T02:25:44.47+00:00

    @Anonymous Welcome to Microsoft Q&A! Thanks for posting the question.

    DevOps is currently not supported in the Q&A forums, the supported products are listed over here:
    https://learn.microsoft.com/en-us/answers/products (more to be added later on).

    You can ask the experts in the dedicated forum over here:
    https://stackoverflow.com/questions/tagged/devops
    https://developercommunity.visualstudio.com/spaces/21/index.html

    **
    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.