2 min read
Build and Deployment in SAP Commerce Cloud V2 – how it works
14 September 2020
Marketing
Introduction
SAP recently released Commerce Cloud build APIs for SAP Commerce Cloud V2 (CCV2) to trigger and track builds. So far the build and deployment process is manual in SAP Commerce Cloud through the Cloud Portal. I developed a Proof of Concept (PoC) to implement build automation in CCV2 using the above APIs.
SAP Commerce Cloud V2 Overview
How does SAP Commerce Cloud V2 (CCV2) work?
The flow starts with the developer merging or pushing some code to the main branch in Bitbucket. A cloud function triggers in Google Cloud Platform. Through a series of API calls, it communicates with the SAP Commerce Cloud build platform. The code build pushed to the main branch is then deployed into the Commerce environment.

Let’s dive a little deeper.

Conclusion
References:
Commerce Cloud API Documentation – SAP Help Portal
Documentation on how to authenticate to cloud API – API Tokens