简体   繁体   中英

selection of task in release pipeline in azure devops

I have a build pipeline which I created and I have the artifacts in a drop folder. Now I want to deploy these artifacts. The drop folder contains my data factory resources like pipelines, datasets.

I have 2 questions:

  1. What task for the agent should I select in the release pipeline to deploy this folder?

  2. How do I specify that in this environment it should go ? ie If I suppose have a QA environment, then how do I specify that thing?

I am actually confused over this selection of task for the agent.

What task for the agent should I select in the release pipeline to deploy this folder?

It's based on where and how you want to deploy the artifacts. If you just want to deploy them in a local machine where you can access, then you just need to add a Copy Files task to copy the artifacts to the target folder.

If you want to deploy to other remote sites or third party services, then you need to select other tasks based on your requirements, and some of them we need to create services connections to access them. For example Deploy to Azure (eg Deploy a web app to Azure App Services )

How do I specify that in this environment it should go ? ie If I suppose have a QA environment, then how do I specify that thing?

In release pipeline we can defined multiple environments/stages, in each environment we can add different tasks to do the actions based on our requirements. We need to add the artifacts sources to deploy them in the release pipeline. Please see Release pipelines for details. You can reference below links to do that:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM