We are moving our Rails repo from github to bitbucket. There is failure with our deployment which was running fine with github. Here is the error:
failed: "sh -c 'if [ -d /var/www/byop/shared/cached-copy ]; then cd /var/www/byop/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard a07b37e38857fe2ff8dfb82bd0e7477b13f2e03e && git
clean -q -d -x -f; else git clone -q git@bitbucket.org:emclab2011/byop.git /var/www/byop/shared/cached-copy && cd /var/www/byop/shared/cached-copy && git checkout -q -b deploy a07b37e38857fe2ff8dfb82bd0e7477b13f2e03e; fi'"
on xxx.xxx.xxx..xxx
We tried both public and private repo and the error was the same. Any idea about the problem? Thanks.
Greetings,
I am late in responding so perhaps this issue is now moot.
Determining the root cause from your description is a tough one, only because there are many variables.
The main thing to check is to ensure your SSH keys are configured in BitBucket. If you are not sure how to do that, step 6 in this document will help:
https://confluence.atlassian.com/pages/viewpage.action?pageId=270827678
Also, you might find this document helpful. It is for troubleshooting SSH issues:
https://confluence.atlassian.com/display/BITBUCKET/Troubleshooting+SSH+Issues
I hope the links were helpful.
Cheers,
Jason | Atlassian
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.