EDUCAÇÃO E TECNOLOGIA

SAP Continuous Integration and Delivery for CAP

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.

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%20Continuous%20Integration%20and%20Delivery%3A%20Job%20Editor

SAP Continuous Integration and Delivery: Job Editor

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%20Integration%20and%20Delivery%3A%20Build%20Tool%20Selection

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.

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.