So I'm trying to create a simple build plan that would basically get my files from BitBucket, then deploy them to an IIS Server. Basically, the files on my BitBucket repository constitutes to an actual web site. I've already created the checkout task and all that's left to do is to actually deploy these files into a locally-available server.. I'm trying to use SCP Task to do this but I don't know what to put on the local path field. Am I doing it wrong? How do I deploy these files..?



2 answers

This widget could not be displayed.

Hi Lawrence,

As it's mentione don this page, the Local Path indicates a list of the files and directories that you need to deploy(transfer). Basically you provide the relative paths (relative to the workspace of each plan) of the files separated by commas. Makes sense?

Alternatively you can use any non-interactive commands from a Script task to copy the files you need.


This widget could not be displayed.

Hi, i have a similar issue.

I want to copy EVERYHING from the build to a seperate local path.

For instance, the builds from bamboo goes to d:\bamboo\builds\ etc...

And i need to copy all files to d:\webfiles\projectname\

OR better yet \\staging-server\webfiles\project name

Which is better the script or SCP?

Hi Darren,

It's up to your environment. Whichever works better for your remote agent if you are using any remote agents to run this particular plan. I would recommend to use the SCP task as it's easier compared to writing a script.


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

203 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you