簡體   English   中英

Azure DevOps Pipeline:下載發布工件(webapp.zip)到特定服務器或PC本地目錄

[英]Azure DevOps Pipeline: Download publish artifact (webapp.zip) to specific server or local directory of PC

I have created a pipeline in Azure DevOps and wanted to download the publish artifact to a server, each time I am running the pipeline I can see the Published zip file in Drop folder on Azure but I am not getting any way to download the zip on本地目錄(特別是我想在特定服務器上的文件夾中下載 webapp.zip 文件)。

請建議我需要添加哪個任務以及我可以在哪里添加服務器詳細信息以下載 zip 文件。

請建議我需要添加哪個任務以及我可以在哪里添加服務器詳細信息以下載 zip 文件。

根據您的要求,您可以使用Download Build Artifacts 任務Download Pipeline Artifacts 任務

取決於你使用什么任務來發布工件:

發布構建工件任務 -> 下載構建工件任務

發布管道工件任務 -> 下載管道工件任務

您可以在任務中定義本地計算機上的路徑(目標目錄),然后 zip 文件將下載到本地計算機。

在此處輸入圖像描述

注意:由於您需要將文件下載到本地機器或服務器,您需要在Self-Hosted agent上運行管道。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM