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
Community showcase
Asked Dec 06, 2018 in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,577 views 22 17
View question

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