Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
krzys
Product and Topic Expert
Product and Topic Expert
SAP Continuous Integration and Delivery offers ready-to-use pipelines, specifically for SAP development scenarios. One of those scenarios is developing CAP-based applications and extensions on SAP BTP. In the last couple of months we spent some time to polish that use case.This blog post gives an overview of recent changes.

Configuration-as-Code vs. Job Editor


We're big fans of configuration-as-code: Pipeline configuration resides with the source code, gets versioned, reviewed and validated on change. On the other hand ... not everybody loves yaml files and sometimes, you'd like to have an easier start. That's why we added a web-based job editor to the service to simplify pipeline configuration. Added bonus: you can start with the job editor, then export the configuration yaml later and store it with your code!

To use the job editor, create a new job and select Job Editor from the Configuration Mode drop-down. There ya go!

 


SAP Continuous Integration and Delivery: Job Editor



Additional Deployment and Build Options


CAP offers a lot of flexibility: You can use the MTA Build Tool (MBT) to create multitarget applications (MTA) and deploy to Cloud Foundry using the cf deploy command. Or decide not to use MTA and deploy native Node.js or Java-based apps. Whichever approach you chose, SAP Continuous Integration and Delivery covers all options. Just bear in mind, in case you want to integrate with SAP Cloud Transport Management you will need to use MTA.

To select one of the build options, simply create or edit your job, go to the build stage, and select the build tool of your choice from the Build Tool drop-down.


Continuous Integration and Delivery: Build Tool Selection


Of course you can configure these build tools in your config.yml in your source code repository as well.

Documentation & Tutorials


To make it easier to find the relevant information for your use cases, we have also added CI/CD topics to the CAP documentation - including also the alternative project "Piper".

And finally, our colleague Iwona Hahn has published this gorgeous tutorial: Configure and Run a Predefined SAP Continuous Integration and Delivery (CI/CD) Pipeline. It will show you ...

... how to enable SAP Continuous Integration and Delivery (CI/CD)
... how to configure a pipeline
... how to create a GitHub web hook
... how to run the pipeline that automatically builds, tests, and deploys your code changes

So, long story short: There's no excuse for not having CI/CD for your CAP projects anymore! You can try out our CAP pipeline and all of its features in a Trial account or using the new free tier model for SAP BTP.

And if you have feedback or ideas what else should be added to the service, please leave a comment.
11 Comments