Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Pipeline deployment for copying files between windows servers (self-hosted)

Jeremy Chin Wang Cheung February 15, 2024

Hi all,

I am doing PoC on the pipeline under windows env (self.hosted at the moment).

Understanding we can use atlassian/scp-deploy for scp'ing the files to other servers, however, my current PoC env is running Windows and don't have scp.

It there some ways to just copying files without the need for scp?

Thank you very much.

2 answers

2 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 16, 2024

Hi Jeremy,

Pipes cannot be used with self-hosted Windows runners, as these runners do not use Docker containers.

Windows Runners use PowerShell to run pipeline steps on your Windows machine (host device), so the commands in your yml file's script are PowerShell commands. So, what you need is a way to copy files using PowerShell.

You can check some of the suggestions in the following StackOverflow post:

You can try it first on PowerShell (without a runner), and if you have a command that works then you can use it in your yml file with the runner.

Kind regards,
Theodora

Jeremy Chin Wang Cheung February 16, 2024

thank you very much.

Like Sabine Mayer likes this
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 19, 2024

You are very welcome, please feel free to reach out if you need anything else!

Like Sabine Mayer likes this
0 votes
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 16, 2024

Hi @Jeremy Chin Wang Cheung . You could check these pipes:

More pipes you could discover at the Marketplace

Regards, Igor

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events