简体   繁体   中英

Azure Devops copy files to server

I have .NET Framework console application that i need to deploy to remote server using Azure devops. I have already deployed .net web apps using artefacts but i can't figure out how to deploy the console app.

The build pipeline is working and it is creating an artefact in either zip file or i can just use all the build files directly. But then what? How to i transfer these files to the remote server, what tasks should i use. I tried the Copy files but i don't know what to put in target folder, i tried the path on the server but nothing happens, it seems the agent is not doing anything.

在此处输入图像描述

Any help is appreciated

If you want to copy file to remote server, then Copy Files Task shouldn't be the right method.

You should use Copy Files Over SSH task

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