Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Pull request on bitbucket isn't triggering a build on bamboo

stevenzhong July 29, 2021

Pull request on bitbucket isn't triggering a build on bamboo.

We have built bitbucket and Bamboo internally. Currently we have moved the bamboo server to the new IP. However, when pull requests were submitted on bitbucket and merged, the builds could be automatically added to Bamboo, but now they cannot be automatically triggered.

2 answers

0 votes
stevenzhong August 6, 2021

System Error Details

Build Churchill Backend Dev - internal-console-parent : Repository error while detecting branches for repository 15466529. command [/usr/bin/git ls-remote ssh://4871caf0-08c3-4343-8322-0b4040d22bd2@127.0.0.1:42969/chur/internal-console-parent.git] failed with code 128. Working directory was [/opt/atlassian/atlassian-bamboo-7.1.3/temp]., stderr: Remote connection failed stdout: Warning: Permanently added '[127.0.0.1]:42969' (RSA) to the list of known hosts. BAMBOO-SSH-PROXY: [SSH proxy tried to connect to [git@bitbucket.sfdcbt-cn.net/10.5.100.12: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.
(com.atlassian.bamboo.plugins.git.GitCommandException : command [/usr/bin/git ls-remote ssh://4871caf0-08c3-4343-8322-0b4040d22bd2@127.0.0.1:42969/chur/internal-console-parent.git] failed with code 128. Working directory was [/opt/atlassian/atlassian-bamboo-7.1.3/temp]., stderr: Remote connection failed stdout: Warning: Permanently added '[127.0.0.1]:42969' (RSA) to the list of known hosts. BAMBOO-SSH-PROXY: [SSH proxy tried to connect to [git@bitbucket.sfdcbt-cn.net/10.5.100.12: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.)

0 votes
stevenzhong July 29, 2021

image (4).png

stevenzhong August 2, 2021

pr-merge-wrong.png

stevenzhong August 2, 2021

Bitbucket does not trigger bamboo auto-build automatically after PR merge

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events