Bamboo build plan fails to start with RepositoryDefinitionException: Task failed since repository with id does not exist
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
問題
Bamboo plan fails to start with RepositoryDefinitionException: Task failed since repository with id does not exist
診断
A stack trace similar to the following is found in the UI / error log after starting the plan:
com.atlassian.bamboo.repository.RepositoryDefinitionException: Task failed since repository with id 55836790 does not exist. It may have been deleted, please update the task and pick a new repository
at com.atlassian.bamboo.repository.RepositoryFunctions$IdSelectorToRepositoryDefinition.apply(RepositoryFunctions.java:96)
原因
An unknown exception has caused the task definition to come out of sync with the repository definition.
回避策 1
Remove and re-add the Source code checkout task for the plan in question.
回避策 2
Re-save the repository settings used by the Source code checkout task, by editing the title for example.