azure-artifacts

Azure Artifact Publishing Fails for Artifact Version Containing '+'

自古美人都是妖i 提交于 2021-02-08 02:13:21
问题 I have been trying to publish an artifact of a java module (jar) to Azure Artifact and was getting an error 404. After debugging for a while i have realised my semantic version was breaking the URL. 1.0.2-beta1+20191202 The + indicates meta data as part of the semantic version syntax. At the same time he + breaks the URL that Azure creates to upload the artifact. Here is a sample of the URL that Azure creates: https://pkgs.dev.azure.com/MYCOMPANY/_packaging/test/maven/v1/com/MYCOMPANY/test/1

Can I upload existing NuGet packages to an Azure DevOps artifacts feed?

▼魔方 西西 提交于 2021-02-07 03:24:35
问题 I'm currently migrating from TFS 2012 to Azure DevOps 2019 (both on-premise). With the old server, I would manually create NuGet packages from some of our builds, and host these .nupkg files on a file share (configured as a package source in Visual Studio). With DevOps, I can obviously automate all of this and push the packages straight into an artifact feed. The old server needs to be decommissioned, so I would like to move the existing .nupkg files out of the file share into the new

Can I upload existing NuGet packages to an Azure DevOps artifacts feed?

依然范特西╮ 提交于 2021-02-07 03:23:37
问题 I'm currently migrating from TFS 2012 to Azure DevOps 2019 (both on-premise). With the old server, I would manually create NuGet packages from some of our builds, and host these .nupkg files on a file share (configured as a package source in Visual Studio). With DevOps, I can obviously automate all of this and push the packages straight into an artifact feed. The old server needs to be decommissioned, so I would like to move the existing .nupkg files out of the file share into the new

How to publish specific files using Publish Build Artifact Task

ぃ、小莉子 提交于 2021-01-29 07:23:36
问题 I am Building C# Application using Visual Studio Build In Azure Pipeline. My solution Contains multiple project (ManagerWeb & WebAPI). I want to Publish Two Separate Artifact ManagerWeb & WebAPI respectively. All the required File's are present in Build.ArtifactStagingDirectory . How I can specify a pattern using which I can get Two Separate Artifact ? Example All the File name with WebAPI in 1st Artifact & ManagerWeb in another. The File name from ArtifactStaging Directory are as Below

Create Azure Artifacts universal package feed via Azure API - Example

与世无争的帅哥 提交于 2021-01-29 06:46:23
问题 we want/need to create feeds in an automatic way depending on a configuration file. Looking at the official documentation neither the Azure CLI nor the Python API provides some convenience functionality to achieve my goal. There is only the REST API that is described briefly in the docs. Is there anywhere a concrete example for a feed creation via REST API that I can reuse? Thank you 回答1: Check Feed Management - Create Feed, to create a feed with specific name: POST https://feeds.dev.azure

How to specify authentication for Pip Project setup pip with extra-index-url in pip.ini (Windows) or pip.conf (Mac/Linux) on azure pipelines/artifacts

故事扮演 提交于 2021-01-24 18:49:28
问题 Azure Artifacts allows posting a module to an Artifactory that can then be installed by using pip by setting extra-index-url in pip.ini (Windows) or pip.conf (Mac/Linux) However, when using pip install, the system is asking for a user/password Is it possible to setup this inside pip.conf and / or even better use .ssh signatures? 回答1: Is it possible to setup this inside pip.conf and / or even better use .ssh signatures? What you met is expected behavior if it's the first time that you try to

How to specify authentication for Pip Project setup pip with extra-index-url in pip.ini (Windows) or pip.conf (Mac/Linux) on azure pipelines/artifacts

亡梦爱人 提交于 2021-01-24 18:40:32
问题 Azure Artifacts allows posting a module to an Artifactory that can then be installed by using pip by setting extra-index-url in pip.ini (Windows) or pip.conf (Mac/Linux) However, when using pip install, the system is asking for a user/password Is it possible to setup this inside pip.conf and / or even better use .ssh signatures? 回答1: Is it possible to setup this inside pip.conf and / or even better use .ssh signatures? What you met is expected behavior if it's the first time that you try to

How to specify authentication for Pip Project setup pip with extra-index-url in pip.ini (Windows) or pip.conf (Mac/Linux) on azure pipelines/artifacts

让人想犯罪 __ 提交于 2021-01-24 18:40:30
问题 Azure Artifacts allows posting a module to an Artifactory that can then be installed by using pip by setting extra-index-url in pip.ini (Windows) or pip.conf (Mac/Linux) However, when using pip install, the system is asking for a user/password Is it possible to setup this inside pip.conf and / or even better use .ssh signatures? 回答1: Is it possible to setup this inside pip.conf and / or even better use .ssh signatures? What you met is expected behavior if it's the first time that you try to

Publish *.snupkg symbol package to private feed in VSTS

喜欢而已 提交于 2020-12-30 05:58:22
问题 I want to package and publish a .net standard based code as a nuget package using VSTS build. I have created a private nuget feed (in VSTS Artifacts) to which I would like to publish nuget package along with symbols package. I tried using dotnet CLI tasks to build and publish but it only publish .nupkg and not *.snupkg to the nuget feed. I googled alot but I only found articles related to publishing to nuget.org and not to a private feed. 回答1: Publish *.snupkg symbol package to private feed

Azure Artifacts gives 401 error on publishing a nuget package

只谈情不闲聊 提交于 2020-12-15 06:54:13
问题 Pushing a Nuget package to Azure Artifacts always gives 401 error. Note that the API key was just copied from Azure portal. What could be the issue? dotnet nuget push out/MonoTorrent.1.0.39.nupkg -s "myfeed" -k "myapikey" Output: Pushing MonoTorrent.1.0.39.nupkg to 'https://pkgs.dev.azure.com/myacct/c7fc868d-fd14-4f27-a36a-8ff9add6482c/_packaging/c2fe5b0f-251b-4017-9848-ed4b906d9fc0/nuget/v2/'... PUT https://pkgs.dev.azure.com/myacct/c7fc868d-fd14-4f27-a36a-8ff9add6482c/_packaging/c2fe5b0f