legacy-knowledge-base
公開されました Jul. 2, 2025

LXC-SMのデプロイがjenkinsで止まってしまう。

written-by

Anishq 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

learn-legacy-article-disclaimer-text

問題

  • デプロイメントがjenkinsで以下のエラーで止まってしまいます:
     stderr: fatal: Unable to create '/var/jenkins_home/workspace/xyz_prd/.git/shallow.lock': File exists.
     Another git process seems to be running in this repository, e.g.
     an editor opened by 'git commit'. Please make sure all processes
     are terminated then try again. If it still fails, a git process
     may have crashed in this repository earlier:
     remove the file manually to continue.

環境

  • Liferay DXP 7.1
  • Liferay DXP 7.2
  • Liferay DXP 7.3
  • Liferay DXP 7.4

解決

  • この問題は、メモリやその他の理由でデプロイが失敗し、ワークスペースの自動クリーンアップジョブが正常に完了しない場合に発生します。
  • ビルドが完了するたびにワークスペースがクリーンアップされるため、新しいビルドを実行すると、問題は自動的に解決されるはずです。
  • 問題が解決しない場合は、その旨を記載したサポート チケットを作成してください。
did-this-article-resolve-your-issue

legacy-knowledge-base