Note: please note that Liferay has renamed its Liferay Experience
Could offerings to Liferay SaaS (formerly LXC) and
Liferay PaaS (formerly LXC-SM).
Issue
- Our new build is failing in Jenkins with the following error:
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
- Liferay PaaS
Resolution
- You should check your LCP.json files because a property might need to be relocated
- Most of the time the property is out of the environment's scope and should be placed in the
"env": {}
section, like - From
"environments": {
"infra": {
"deploy": true,
"PLUGINS_FORCE_UPGRADE": "true"
}
- To
"environments": {
"infra": {
"deploy": true,
"env": {
"PLUGINS_FORCE_UPGRADE": "true"
}
}
}
Conteúdo Excluesivo para Assinantes
Uma Subscrição do Liferay Enterprise fornece acesso a mais de 1.500 artigos que incluem práticas recomendadas, solução de problemas e outras soluções valiosas. Faça login para obter acesso completo.
Entrar