Jenkins build fails with "LCP.json with id "undefined" is not valid against schema" エラー。

問題

  • 新しいビルドがJenkinsで以下のエラーで失敗している:
Failed to deploy the services in /var/jenkins_home/workspace/<workspace_name>/build on liferay.cloud.
Reason: Unexpected message when uploading services: 
LCP.json with id "undefined" is not valid against the schema

Environment

  • LXC-SM

解決策

  • LCP.jsonファイルをチェックする必要があります。
  • ほとんどの場合、このプロパティは環境のスコープ外であり、 "env "に配置されるべきです:{のように セクションに置く必要があります。
  • 送信者
"environments": {
"infra": {
"deploy": true,
"PLUGINS_FORCE_UPGRADE": "true"
}
  • 終了
"environments": { 
"infra": {
"deploy": true,
"env": {
"PLUGINS_FORCE_UPGRADE": "true"
}
}
}
この記事は役に立ちましたか?
0人中0人がこの記事が役に立ったと言っています