com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException

com.atlassian.bamboo.repository.InvalidRepositoryException: Cannot determine head revision of 'ssh://git@<domain>:7999/<project>/<repo>.git' on branch 'bugfix/<branchname>'. Branch has probably been removed.

Solutions on the web7

  • via Atlassian JIRA by David Harper, 1 year ago
    com.atlassian.bamboo.repository.InvalidRepositoryException: Cannot determine head revision of 'ssh://git@<domain>:7999/<project>/<repo>.git' on branch 'bugfix/<branchname>'. Branch has probably been removed.
  • via Atlassian JIRA by David Harper, 11 months ago
    com.atlassian.bamboo.repository.InvalidRepositoryException: Cannot determine head revision of 'ssh://git@<domain>:7999/<project>/<repo>.git' on branch 'bugfix/<branchname>'. Branch has probably been removed.
  • via Atlassian JIRA by Robin Stocker, 10 months ago
    com.atlassian.bamboo.repository.InvalidRepositoryException: Cannot determine head revision of 'ssh://git@rstocker:7999/project_1/rep_1.git' on branch 'heads/release-1.0'. Branch has probably been removed.
  • Stack trace

    • com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: com.atlassian.bamboo.repository.InvalidRepositoryException: Cannot determine head revision of 'ssh://git@<domain>:7999/<project>/<repo>.git' on branch 'bugfix/<branchname>'. Branch has probably been removed. at com.atlassian.bamboo.plugins.stash.StashRepository.getLastCommit(StashRepository.java:693) at com.atlassian.bamboo.plan.branch.BranchExpiryJob.execute(BranchExpiryJob.java:94) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) Caused by: com.atlassian.bamboo.repository.InvalidRepositoryException: Cannot determine head revision of 'ssh://git@<domain>:7999/<project>/<repo>.git' on branch 'bugfix/<branchname>'. Branch has probably been removed. at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.obtainLatestRevision(NativeGitOperationHelper.java:543) at com.atlassian.bamboo.plugins.git.GitRepository.getLastCommit(GitRepository.java:590) at com.atlassian.bamboo.plugins.stash.StashRepository.getLastCommit(StashRepository.java:689) ... 7 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.