Details
-
Bug
-
Resolution: Fixed
-
Low
-
None
-
None
-
Severity 3 - Minor
-
Description
Background
Everytime Bamboo cannot connect to a branch, an error is logged in the system logs which pollute the logs and mislead users. This is amplified in a pull request workflow as the source branch is deleted when the pull request is merged.
Error in Bamboo server logs:
ERROR [11-BranchDetectionBackgroundThread:pool-19-thread-1] [BranchDetectionServiceImpl] Repository error while detecting branches for plan BUILD-PLAN
UI error log messages
Build Project - Repo - Key-5511 1 : Unable to detect changes (com.atlassian.bamboo.repository.RepositoryException : java.lang.RuntimeException: com.atlassian.bamboo.repository.InvalidRepositoryException: Cannot determine head revision of 'ssh://git@stash.companyname.com:7999/rt/stage.git' on branch 'KEY-5511'. Branch has probably been removed.) Occurrences: 2 First Occurred: 05 Mar 2014, 10:17:53 AM Last Occurred: 05 Mar 2014, 10:19:23 AM
The errors create noise in the system logs.
Possible solutions
- Add some filter in the system errors section.
- Prevent some errors from appearing in the system error logs - in case they are misleading.