cancel
Showing results for 
Search instead for 
Did you mean: 

CAP Build Code & Joule project deployment to CF

saurabhasthana
Advisor
Advisor
0 Kudos
376

Hi Experts,

I am trying to deploy my CAP project (named cap_bc) created using SAP Build code and Joule to SAP BTP subaccount/space. I added mta.yml file using command "cds add mta" and manifest.json file is already there in "webapp" folder. Deployment is also almost successful but at the end I am getting error related to metadata as below -

"Application "cap_bc-srv" started and available at "f*******trial-dev-cap-bc-srv.cfapps.us10-001.hana.ondemand.com"
Skipping deletion of services, because the command line option "--delete-services" is not specified.
Process finished.

Use "cf dmol -i 1f04c7e0-6111-11ef-9e05-eeee0a8230ab" to download the logs of the process.
cf update-user-provided-service cap_bc-metadata -t "DeployedUTCTime: 2024-08-23T05:33:53.331Z"
Updating user provided service cap_bc-metadata in org f0*****trial / space dev as s************1@gmail.com...
Service instance 'cap_bc-metadata' not found
FAILED
Exit error code: "
 
I do not see any user provided service and anything like "cap_bc-metadata" in my mta.yml/ package.json files. I am attaching my mta.yml & package.json files also.
 
Further, is there any other way to deploy Build Code project? I am trying to deploy in regular way mostly manually by adding mta yml files etc. Kindly guide me with the steps.
 
Thanks in advance.
- Saurabh
 
 
View Entire Topic
saurabhasthana
Advisor
Advisor
0 Kudos

I got the answer and was able to resolve it. Thanks.

0 Kudos

Hi @saurabhasthana,
Can you please explain how you resolved it.I am also facing the same issue.
Regards,
Keerthana

jlong
Product and Topic Expert
Product and Topic Expert
0 Kudos
Can you please provide your solution?