Changes by [unknown] in a Git plan

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

問題

When a build is triggered by Repository Polling, it shows the message "Changes by [unknown]"

atlassian-bamboo.log に次のメッセージが出力される。

2019-01-18 19:41:01,040 ERROR [9-BAM::PlanExec:pool-15-thread-3] [GitChangeDetector] : Failed to extract changesets, will return a stub changeset.
java.lang.UnsupportedOperationException: JGit implementation does not support Git LFS repositories, please use native Git or mark your repository configuration as non-LFS
	at com.atlassian.bamboo.plugins.git.JGitOperationHelper.fetch(JGitOperationHelper.java:283)
	at com.atlassian.bamboo.plugins.git.JGitOperationHelper.fetch(JGitOperationHelper.java:277)
	at com.atlassian.bamboo.plugins.git.v2.GitChangeDetector.lambda$fetchAndExtractChanges$4(GitChangeDetector.java:233)
	at io.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:284)
	at com.atlassian.bamboo.plugins.git.v2.GitChangeDetector.fetchAndExtractChanges(GitChangeDetector.java:217)
	at com.atlassian.bamboo.plugins.git.v2.GitChangeDetector.collectChanges(GitChangeDetector.java:190)
	at com.atlassian.bamboo.plugins.git.v2.GitChangeDetector.collectChangesSinceRevision(GitChangeDetector.java:71)
	at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectionChangesWithRetry(DefaultChangeDetectionManager.java:580)
	at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.lambda$createBuildRepositoryChanges$2(DefaultChangeDetectionManager.java:479)
	at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:185)
	at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(DefaultChangeDetectionManager.java:440)

診断

Check if the option Enable LFS support is enabled at Repository Settings > Advanced options.

Check if there is any Git capability configured at Administration > Build Resources > Server capabilities.

原因

Git LFS option is enabled in that repository in Bamboo but JGit does not support it.

ソリューション

  1. Install Git client in the machine hosting Bamboo and configure it at Administration > Build Resources > Server capabilities.
    OR
  2. Disable the option Enable LFS support at Administration > Build Resources > Linked repositories > reponame > Advanced options or Plan Configuration > Repositories > reponame > Advanced options.


説明 Changes by [unknown] in a Git plan
製品Bamboo
最終更新日: 2019 年 1 月 18 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.