Does the new build status feature not work with ssh alias?

I have a repo on bitbucket, checked out in Sourcetree via ssh with an alias (~/.ssh/config). Bitbucket pipelines are enabled and working.

 

In Sourcetree, I see a white plus sign on a blue background. On click, I am asked to 'migrate now'. Clicking asks to 'create a remote repository', which I obviously already have.

 

Am I misunderstanding something, or might the reason be that this new feature does not recognize the ssh alias as Bitbucket?

2 answers

0 vote

Sourcetree is looking at the remotes (for Bitbucket Cloud) and for the presence of a Bitbucket Pipelines configuration file. If those aren't present then the messaging changes. 

Brian Ganninger
Senior Mac Developer, Sourcetree

Non-sequitur

 

1) There is a `bitbucket-pipelines.yml`

2) The origin remote is a Bitbucket Cloud repository, i.e., an ssh alias to Bitbucket Cloud

3) I see what I described

 

2a) push and fetch works

 

My question was, why do I see what I described, which is not the build status? Am I doing something wrong, or are ssh aliases NYI?

bitbucket-pipelines.yml:

# See https://confluence.atlassian.com/x/14UWN for more examples
image: node:6.10.3

pipelines:
default:
- step:
caches:
- node
script:
- export NODE_ENV="ci"
- echo 'node:' `node --version`
- echo 'npm:' `npm --version`
- npm install
- echo 'branch:' `git rev-parse --abbrev-ref HEAD`
- echo 'tags:' `git name-rev --tags --name-only $(git rev-parse HEAD)`
- echo 'sha:' `git rev-parse --verify HEAD`
- echo $NODE_ENV
- npm test
- git tag build/$BITBUCKET_BUILD_NUMBER
- npm run legalReport
#- git push origin --tags MUDO doesn't work yet - need ssh key

 remote:

>git remote
origin
>git remote get-url origin
git@FarmadBitBucket.org:farmadcode/pharmacy-registrar.git

~/.ssh/config:


# --- SourceTree Generated ---
Host FarmadBitBucket.org
    HostName bitbucket.org
    User j_dockx
    PreferredAuthentications publickey
    IdentityFile /Users/jand/.ssh/j_dockx-Bitbucket
    UseKeychain yes
    AddKeysToAgent yes
# ----------------------------

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

273 views 0 3
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot