Hi,

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..?

Thanks,

Lawrence

2 answers

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.

Armen

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.

Armen

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,804 views 0 6
Read article

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