Degraded performance Customers may experience issues using Community search. Our team is investigating.
I've just started playing around with Bitbucket piplines and have come across an issue where my pipeline is stalling when trying to ssh or rsync. The commands actually seem to be running (files are being copied), but are holding things up. Not sure what I'm doing wrong. Tried with ssh command first, but that did the same thing.
Basically the test pipeline file I'm using:
image: atlassian/default-image:latest pipelines: branches: master: - step: script: - mkdir -p ~/.ssh - cat bb_pipe_known_hosts >> ~/.ssh/known_hosts - (umask 077 ; echo $SSH_KEY | base64 --decode > ~/.ssh/id_rsa) - rsync -caz readme.html email@example.com:/home/gwegwergwer/public_html/test-site/
Just sits like this:
That "stdin: is not a tty" message looks suspicious to me. Is it possible rsync is trying to prompt for user input? Perhaps you could look into how to run rsync in non-interactive mode, eg: http://serverfault.com/questions/39571/forcing-rsync-to-non-interactive-mode
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
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!
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