2024 Jul 12 2:27 PM - edited 2024 Jul 15 11:16 AM
Hello 🙂
We have been using SAP CI/CD service for a while. Successfully, until recently, when we started getting fails every time. No change was made to the applications.
What setting could cause this ? Was there a recent update in the tool ?
This is the error we get at first :
Missing or empty 'version' attribute in package.json at /home/jenkins/agent/workspace/sij-room-cx_DEV
"sij-room-cx_DEV" is the name of the job.
And if we add a version attribute in the package.json :
Failed to create a UI5 project from module approuter at /home/jenkins/agent/workspace/sij-room-partnerexhidemo_DEV. Make sure the path is correct and a project configuration is present or supplied.
In attachment, the logs.
Hi,
It was a good idea (and thank you, I will remember this possibility in the future), but unfortunately it did not fix the build in this case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The pipeline tries to run the npm run build command and fails there. The application does not seem to be set up correctly to run this. For example: Do you have a ui5.yaml? Maybe this can help: https://sap.github.io/ui5-tooling/v3/pages/GettingStarted/
We are not ui5 experts either, so it would probably be best to reach out to the UI5 community.
If you just want the pipeline to run then you may rename the "build" script in the package.json to something else, e.g. "ui5-build", and it will not run the build, but only do an npm install and continue.
Hope that helps,
Oliver
User | Count |
---|---|
62 | |
12 | |
7 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.