I have the following script. It runs fine locally. I am using ssh not https and I have set up my repo as using ssh on Bamboo, loading the same private key file I am using with my system git (I also tried using the ppk file source tree uses). As soon as I run from bamboo the script is called but the push hangs; nothing happens. I had a git fetch in my script before and that hangs too. Any thoughts?
@echo off echo Starting Git Merge set currentBranch= cd /d %USERPROFILE%\bamboo-home\xml-data\build-dir\TEST-TP3-JOB1\Heart Test Labs set sshStringfirstname.lastname@example.org:<company>/<project>.git git remote set-url origin %sshString% git checkout master git status git checkout release/v22.214.171.124 git merge master echo merge master finished echo starting push git push origin release/v126.96.36.199:release/v188.8.131.52 echo push finished exit %ERRORLEVEL%
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