How to manually publish a file to Azure Artifacts?


I have a file which I have created manually on my local computer. I need it in several Azure DevOps pipelines.

I want to use it as an "Artifact".

I know how to publish artifacts from within an Azure DevOps Pipeline, but this specific file I just want to upload from my computer. How can I do it?

Leo Liu-MSFT

How to manually publish a file to Azure Artifacts?

As we know, the essence of Artifact is the storage of a shared file. We can roughly get this information from the Publish build artifacts task:

enter image description here

But the default value of Artifact publish location is Azure Pipelines:

enter image description here

This is a shared place set up on Azure.


Thanks hey sharing:

We could upload from local to the shared place with AZ command line, like:

az artifacts universal publish --organization --feed my_feed --name my-artifact-name --version 0.0.1 --description "Test Description" --path

Now let us return to the first sentence we started with "the essence of Artifact is the storage of a shared file", so we could create a shared place/folder to save the file. It is now seen as "Artifact". Then we just need make sure other pipelines could access this shared place/folder.

For example, we could create a folder on the server where our private agent is located, then we just need to copy your file to that folder. Now, we could use it when we build the pipeline with private agent. Obviously this is not limited to local folders, we can also create a network folder, only need to ensure that other pipelines can access it.

Hope this helps.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at


Login to comment


VSTS: Publish build artifacts to Azure File Storage

How to publish manually created WebJobs to Azure

Publish .snupkg to Azure DevOps artifacts nuget feed

Pipelines: cannot publish a file from artifacts directory

How to publish custom artifacts to Artifactory from TeamCity?

How to use artifactoryPublish to publish release and debug artifacts

azure devops: copy and publish build artifacts - rename artifact by buildnumber

Azure Devops - Publish Pipelines Artifacts: Build Id is not valid

How to manually publish JAR to maven central?

How to Publish an Azure Bot

Gradle Artifactory Plugin - How to publish artifacts from multiple modules in a project?

How to publish Travis CI artifacts to GitHub Release from several jobs

How can I publish a specific subset of artifacts in Gradle

How to publish and download artifacts from multiple jobs into one location on pipeline?

How to manually deploy artifacts in Nexus Repository Manager OSS 3

How to archive a folder as tar.bz2 file and upload to universal packages from Azure Artifacts

How to publish a WCF against a publish settings file?

How to download an artifact in Azure DevOps artifacts

How build artifacts are managed in Azure DevOps pipeline?

How to Bulk Download Azure Artifacts Packages?

How to publish artifact into Azure Artifact

What determines which projects in VisualStudio are consider to be publish artifacts in Azure Devops Build

publish artifacts to scp repository if success

Publish Artifacts for website goes to PrecompiledWeb

Remove artifacts from CI manually

Create Azure Objects Using 'Publish Settings' File

Using VSTS to publish Azure Function to Zip file

File pattern for Publish Pipeline Artifact in Azure DevOps

Migrating Published Artifacts in Azure Artifacts

TOP Ranking