Legacy Knowledge Base
公開されました Jun. 30, 2025

org.jenkinsci.plugins.github_branch_source.ApiRateLimitChecker$RateLimitCheckerAdapter checkRateLimit が原因でビルドが失敗する

Written By

Madhusudan Sharma

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • DXP Cloudビルドの作成中に Jenkins が失敗し、次のエラーが発生します:
ERROR: org.jenkinsci.plugins.github_branch_source.ApiRateLimitChecker$RateLimitCheckerAdapter checkRateLimit
ERROR: LocalChecker for rate limit was not set for this thread. Configured using system settings.

環境

  • Liferay DXP 7.4

解決

ERROR: org.jenkinsci.plugins.github_branch_source.ApiRateLimitChecker$RateLimitCheckerAdapter checkRateLimit

上記のエラーは、ビルド制限に達したため、それ以上の API 呼び出しができないことを示しています。

ERROR: LocalChecker for rate limit was not set for this thread. Configured using system settings.

上記のとおり、パイプラインの実行は構成されていません。現在はシステム全体の設定に依存しています。

上記のエラーを解決するには、回避策として全てのブランチでビルドをトリガーしないようにすることをお勧めします。これにより、ディスク領域を節約し、不要なビルドの実行を防ぐことができ、1 日のクォータ制限を超えることを防ぐことができます。
 
インフラストラクチャ環境で次の環境変数を設定してください:

LCP_CI_SCM_BRANCH_FILTER_INCLUDE
LCP_CI_SCM_BRANCH_FILTER_EXCLUDE

上記の環境変数に関する詳細情報は次のとおりです:

LCP_CI_SCM_BRANCH_FILTER_INCLUDE - specify those branches which you WANT to trigger build
LCP_CI_SCM_BRANCH_FILTER_EXCLUDE - specify those branches which you DON'T WANT to trigger build

For example, if you want the develop and master branches to be included in the autoscan and exclude the branches that start with PR, you would have to configure it as follows:

LCP_CI_SCM_BRANCH_FILTER_INCLUDE="master develop"
LCP_CI_SCM_BRANCH_FILTER_EXCLUDE="PR-*"

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base