legacy-knowledge-base
公開されました Jun. 30, 2025

Jenkinsのビルドは、"ファイルパターンのビルドに一致する成果物が見つからない "という例外で失敗しました。

written-by

Kanchan Bisht

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 は、Liferay Experience Could オファリングの名称を次のように変更しました。 Liferay SaaS(旧 LXC) と Liferay PaaS(旧 LXC-SM)となりました。

問題

  • Jenkinsのビルドは、すべてのブランチ(すべての環境)で以下のエラーが出て失敗します。
    LiferayCloudProject_v2_0_0
    以下のサービスディレクトリを訪問しました:
    サービスルートディレクトリで各サービスをビルドする:/var/jenkins_home/workspace/
    サービスファイルをサービスビルドパスにCOPYします:/var/jenkins_home/workspace/build
    Successfully visited services
    Stashed 0 file(s)
    Archiving build/**
    Archiving artifacts
    'build/**'は何もマッチしないが、'**'はマッチする。 おそらく、そういうことだろう。
    No artifacts found that match the file pattern "build/**". コンフィギュレーション・エラー?

環境

  • Liferay PaaS

解像度

  • このようなエラーや動作は、JenkinsがGitHubからコードをプルできないことが問題の原因である場合に観察されます。 この理由として考えられるのは、トークンの有効期限切れである。

  • このシナリオでは、トークンを検証し、必要に応じて新しいトークンを生成することができる。

追加情報

  • 環境変数の設定
    • LCP_CI_SCM_TOKEN の値には、GitHub組織用に作成した個人用アクセストークンを使用します。 このトークンの作成とアクセス方法については、GitHubのドキュメントを参照してください。
did-this-article-resolve-your-issue

legacy-knowledge-base