> Does it mean that I cannot link JIRA with Bitbucket and Bamboo?
You can connect Jira, Bitbucket and Bamboo with Application Link manually. What I meant was that you cannot configure Application link automatically using docker-compose.yml.
To make "bitbucket.internal" or "jira.internal" url pattern works like the example in this article, the following nginx config is essential. You need to set "http://bitbucket.internal" or "http://jira.internal" as base urls too.
New access key is required but could not be added to Bitbucket Server.
Warning: Permanently added '[127.0.0.1]:37181' (RSA) to the list of known hosts. BAMBOO-SSH-PROXY: [SSH proxy tried to connect to [git@bitbucket.internal/192.168.80.7:7999]: and failed due to the following error: [Remote connection failed]: Failed to get the session.] fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
I have exposed port 7999 on the docker-compose for bitbucket
As for the Bamboo setup, I think your bitbucket.internal/192.168.80.7 points to your nginx container. Try adding ssh upstream configurations to your nginx.conf.
e.g.
stream { upstream ssh { server bitbucket:7999; } server { listen 22; proxy_pass ssh; } }
I have added the suggested stream configuration but without success...
Still has the same kind of message
New access key is required but could not be added to Bitbucket Server.
Warning: Permanently added '[127.0.0.1]:33591' (RSA) to the list of known hosts. BAMBOO-SSH-PROXY: [SSH proxy tried to connect to [git@bitbucket.internal/172.19.0.7:7999]: and failed due to the following error: [Remote connection failed]: Failed to get the session.] fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
It is strange that it says that it cannot add a key but the key is added.
And I can clone the repo I have created through ssh with a key I have added manually.
34 comments