com.atlassian.bamboo.repository.RepositoryException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • h3. Summary Bamboo Cloud shows "not valid: is this a git repository" system errors. It occurs when Bamboo runs the command {{/usr/bin/git ls-remote}} to check the remote Bitbucket repositories. {noformat} com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://s********s:********@bitbucket.org/s********s/pjh-elect failed with code 128. Working directory was [.]., stderr: fatal: https://s********s:********@bitbucket.org/s********s/p*******/info/refs not valid: is this a git repository? at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:314) at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:237) .... Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://s********s:********@bitbucket.org/s********s/p****** failed with code 128. Working directory was [.]., stderr: fatal: https://s********s:********@bitbucket.org/s********s/p*******/info/refs not valid: is this a git repository? at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:587) at com.atlassian.bamboo.plugins.git.GitCommandProcessor.getRemoteRefs(GitCommandProcessor.java:430) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper$1.call(NativeGitOperationHelper.java:501) {noformat} The errors are intermittent and checking at a latter time will work again. h3. Environment * Bamboo * Bitbucket Cloud h3. Steps to reproduce: # Configure a "Bitbucket Cloud" repository under "Linked repositories" # Wait for at least 24 hours so Bamboo does multiple checks on the repositories. *Result:* The errors will appear of sporadic connection failures to Bitbucket on the section: /builds/admin/systemErrors.action h3. Workaround If the error is shown when running a build, try at a later time. Because the error is intermittent, if errors are found on the System Errors section, it can be discarded
    via by Muhammad Fahd [Atlassian],
  • h3. Summary Bamboo Cloud shows "not valid: is this a git repository" system errors. It occurs when Bamboo runs the command {{/usr/bin/git ls-remote}} to check the remote Bitbucket repositories. {noformat} com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://s********s:********@bitbucket.org/s********s/pjh-elect failed with code 128. Working directory was [.]., stderr: fatal: https://s********s:********@bitbucket.org/s********s/p*******/info/refs not valid: is this a git repository? at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:314) at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:237) .... Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://s********s:********@bitbucket.org/s********s/p****** failed with code 128. Working directory was [.]., stderr: fatal: https://s********s:********@bitbucket.org/s********s/p*******/info/refs not valid: is this a git repository? at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:587) at com.atlassian.bamboo.plugins.git.GitCommandProcessor.getRemoteRefs(GitCommandProcessor.java:430) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper$1.call(NativeGitOperationHelper.java:501) {noformat} The errors are intermittent and checking at a latter time will work again. h3. Environment * Bamboo * Bitbucket Cloud h3. Steps to reproduce: # Configure a "Bitbucket Cloud" repository under "Linked repositories" # Wait for at least 24 hours so Bamboo does multiple checks on the repositories. *Result:* The errors will appear of sporadic connection failures to Bitbucket on the section: /builds/admin/systemErrors.action h3. Workaround If the error is shown when running a build, try at a later time. Because the error is intermittent, if errors are found on the System Errors section, it can be discarded
    via by Muhammad Fahd [Atlassian],
    • com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://s********s:********@bitbucket.org/s********s/pjh-elect failed with code 128. Working directory was [.]., stderr: fatal: https://s********s:********@bitbucket.org/s********s/p*******/info/refs not valid: is this a git repository? at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:314) at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:237)

    Users with the same issue

    Unknown visitor1 times, last one,