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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.