Use DevOps Release Pipeline to Upload Artifacts to a Linux Server

Paul Carlton

Is there a simple way to upload build artifacts in a zip file to a Linux Server using SCP or some other protocol?

Right now the build sits in a specific directory on the build server ready to be uploaded but the docs I've been reading haven't made it clear how to upload it to Linux using DevOps Release Pipeline. The documentation and question/answers I've been reading appears to be windows to windows rather than windows to Linux.

Thanks!

Leo Liu-MSFT

Is there a simple way to upload build artifacts in a zip file to a Linux Server using SCP or some other protocol?

You could try to use Copy Files Over SSH task to copy the Artifacts to a Linux Server.

Use this task in a build or release pipeline to copy files from a source folder to a target folder on a remote machine over SSH.

This task allows you to connect to a remote machine using SSH and copy files matching a set of minimatch patterns from specified source folder to target folder on the remote machine. Supported protocols for file transfer are SFTP and SCP via SFTP. In addition to Linux, macOS is partially supported.

Please check the developer forum Copy Files Over SSH during Continuous Integration and Deployment for some more details.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How to upload artifacts to existing release?

Run command in Container for Linux during Azure Devops Pipeline Release

Azure Devops Server: Share files between stages in Classic Release pipeline

How to use OR and And operator in Custom condition in Devops Release pipeline

Azure Devops multistage pipeline or release, when to use what?

Azure DevOps pipeline upload to FTP after create directory on remote server

Release pipeline - share Artifacts between docker stages

How to solve the release pipeline deployment issue with the artifacts?

How build artifacts are managed in Azure DevOps pipeline?

Azure DevOps - Maven Pipeline publish artifacts

See Build Artifacts in Azure DevOps with YAML Pipeline

DevOps - Disabling stages in a release pipeline

Azure Devops Release pipeline variables

Upload Build artifacts from Jenkins Pipeline to Sharepoint

How to read release pipeline variable and use as environment variable in Azure DevOps in Azure CLI task?

Idiomatic use of sbt to release (tested) artifacts

How to use artifactoryPublish to publish release and debug artifacts

Azure DevOps: Error importing Maven artifact from Azure Artifacts into Release

VSTS - Azure DevOps: AppSettings transformations during the release, or multiple artifacts

Create Azure DevOps release without artifacts via Rest API

Azure Devops logging commands in release pipeline

Azure Devops Release Pipeline - ARM - utcNow

Cannot create Release Pipeline in Azure DevOps

Azure DevOps Release Pipeline Fails Every Time

Dynamic variable group for Azure DevOps release pipeline

Control Job Order in Azure DevOps Release Pipeline

Why is this Azure DevOps pipeline release failing?

Problems with param block in a Azure Devops release pipeline

Azure DevOps Classic Release Pipeline Debug