Details
-
Bug
-
Resolution: Fixed
-
Medium
-
5.9.7, 5.10.2
-
None
Description
Summary
Bamboo using only "Stash repository triggered" but it will perform repository polling after restart
Steps to Reproduce
- Create Application Link between Bitbucket Server and Bamboo (same Base URL and Application URL setting)
- System Info showing Remote event status - Green
- Add Bitbucket Server repository into a Plan and configure it to use Stash Repository trigger
- Create a commit and push to Bitbucket Server
Stash repository event is working. Able to trigger Bamboo. - Add debug logging "com.atlassian.bamboo.plugins.git"
No polling interval in the log - Restart Bamboo
- System Info showing Remote event status - Grey Unknown (even after more than 1 hour) --> cause of the problem
- Create a commit and push to Bitbucket Server
Stash repository event is working. Able to trigger Bamboo. - Add debug logging "com.atlassian.bamboo.plugins.git"
Polling interval happen. Bamboo is running "git ls-remote" for every 3 minutes
Expected Results
System Info Remote event status should be Green so that there won't be any polling interval
Workaround
Recreate Application Link
Note
It seems that there is another bug in Bamboo 5.10.2 that the Remote event status does not refresh immediately in Step 7 (it is still Green colour) even though Bamboo still polling for every 3 minutes.
Probably, a bug in the System Info page that cache the Remote event status value.