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
learn-legacy-article-disclaimer-text
問題
Liferay Cloud で CI サービスを更新した後、さまざまなプラグインの負荷に関連する CI のログにいくつかのエラーが見つかります。エラーは次のようなものです。
May 26, 2021 3:37:21 PM jenkins.InitReactorRunner$1 onTaskFailed
SEVERE: Failed Loading plugin DXP Cloud Builder v1.0-SNAPSHOT (private-05/11/2021 19:00-root) (dxp-cloud-builder)
java.io.IOException: Failed to load: DXP Cloud Builder (1.0-SNAPSHOT (private-05/11/2021 19:00-root))
- Update required: Matrix Authorization Strategy Plugin (2.6.5) to be updated to 2.6.6 or higher
- Update required: JUnit Plugin (1.29) to be updated to 1.48 or higher
at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:950)
at hudson.PluginManager$2$1$1.run(PluginManager.java:550)
at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
at jenkins.model.Jenkins$5.runTask(Jenkins.java:1131)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Environment
更新後の Liferay Cloud インフラ環境
解決策
これは、Jenkins が手動で更新されたと見なすプラグインで発生します。
その場合は、環境変数 PLUGINS_FORCE_UPGRADEtrue に設定し、変更を適用 (サービスの再起動/再デプロイ) することで解決できるはずです。このアクションは、DXP Cloud の Web コンソールで実行できます。 ci サービスの環境変数セクション、または「env」セクションのサービス記述子の情報を永続化する場合は ci/LCP.json を使用します。