Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

SCP task on deployment from Linux server to windows server is stuck on upload

I have enabled a sshd on destination server but still it doesnt work

 

24-Jun-2019 15:40:57 Build Deployment of 'release-5' on 'DEV' started building on agent agent4 
24-Jun-2019 15:40:57 Remote agent on host agent4
24-Jun-2019 15:40:57 Build working directory is /root/bamboo-agent-home/xml-data/build-dir/45701010-719002001
24-Jun-2019 15:40:57 Executing build Deployment of 'release-5' on 'DEV'
24-Jun-2019 15:40:57 Starting task 'Clean Working directory' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask'
24-Jun-2019 15:40:57 Cleaning working directory '/root/bamboo-agent-home/xml-data/build-dir/45701010-719002001
24-Jun-2019 15:40:57 Finished task 'Clean Working directory' with result: Success
24-Jun-2019 15:40:57 Starting task 'Download release contents' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask'
24-Jun-2019 15:40:57 Preparing to download plan result TESTING-99 artifact: Non required shared artifact: [test], pattern: [**/*] anchored at: [dist]
24-Jun-2019 15:40:58 Artifact [test]downloaded successfully in 858.0 ms to working directory
24-Jun-2019 15:40:58 Finished task 'Download release contents' with result: Success
24-Jun-2019 15:40:58 Starting task 'config' of type 'com.atlassian.bamboo.plugins.bamboo-scp-plugin:scptask'
24-Jun-2019 15:40:59 Connecting to servername on port: 22
24-Jun-2019 15:41:00 Performing a recursive copy...
24-Jun-2019 15:41:00 Uploading 'index.html'...
24-Jun-2019 15:41:00 Uploading 'styles.js'...
24-Jun-2019 15:41:00 Uploading 'favicon.ico'...
24-Jun-2019 15:41:00 Uploading 'styles.js.map'...
24-Jun-2019 15:41:00 Uploading 'main.js.map'...
24-Jun-2019 15:41:00 Uploading 'polyfills-es5.js.map'...
24-Jun-2019 15:41:00 Uploading 'polyfills.js'...
24-Jun-2019 15:41:00 Uploading 'runtime.js.map'...
24-Jun-2019 15:41:00 Uploading 'main.js'...
24-Jun-2019 15:41:00 Uploading 'vendor.js.map'...
24-Jun-2019 15:41:00 Uploading 'vendor.js'...
24-Jun-2019 15:41:00 Creating remote directory 'assets'...
24-Jun-2019 15:41:00 Uploading 'polyfills.js.map'...
24-Jun-2019 15:41:00 Uploading 'runtime.js'...
24-Jun-2019 15:41:00 Uploading 'polyfills-es5.js'...
24-Jun-2019 15:41:00 Uploading '/root/bamboo-agent-home/xml-data/build-dir/45701010-719002001/index.html' to 'C:/teamportal'...

1 answer

1 accepted

1 vote
Answer accepted

Hi @Livhuwani Netshiumoni

The SSH task is not 100% compatible with every SSH servers for windows. We have a ticket open for improvements in this task: 

You will see there that to make this task work properly you will need to use one of the options below.

In order to test this, I've installed MobaSSH and the following configuration was used to copy data to C:\folder :

/cygdrive/c/folder

The same would be used for a different drive. e.g. E:\folder would be:

/cygdrive/e/folder

⚠️ Please notice the use of forward slashes instead of backslashes.

I hope that helps.

@Daniel Santos  i used MobaSSH it worked perfectly

Thank you 

Like Daniel Santos likes this

You are welcome!
I'm glad the issue is solved =]

:) Issue resolved and artifacts transferred   

Like Daniel Santos likes this

Awesome! =]

I test Cygwin also it worked the magic. :)

Like Daniel Santos likes this

Thank you so much for confirming this one as well! =]

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

223 views 4 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you