Search code examples
azure-devopsazure-pipelinesazure-releases

How to generate deployment files Azure DevOps - TFVC


I have hosted ASP.NET Core and .NET Windows application to DevOps Services - TFVC (Cloud)

Now, I am stuck with how to generate deployment files, like debug folder of .NET Windows app or cloud hosting files of ASP.NET Core.

I have created a pipeline to generate deployment files, but how can I execute from the local machine so that developer can get the necessary files to host or install?

Thanks.


Solution

  • Since you have created a pipeline to generate deployment files, you could add a archive task and a Publish build artifacts task to publish the target files.

    Archive files: https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/archive-files?view=azure-devops

    Publish build artifacts: https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/publish-build-artifacts?view=azure-devops

    enter image description here

    enter image description here

    So the developers could download the .zip files from the pipeline summary page to host and use.

    enter image description here

    enter image description here