Business Scenario
SAP Commerce Cloud is the solution in the SAP Customer Experience portfolio for creating e-commerce Web shops, allowing customers to purchase products online.
Business Developers for the Web shop are constantly implementing new changes and improvements in the source code of the SAP Commerce Cloud project in order to adapt to the different seasonal offerings and to differentiate from other competitors. Once these changes are coded and validated, they are published to a source code repository. In SAP Commerce Cloud, there are different environments available to test and validate the new changes implemented in the code before making them available to customers.
As a System Administrator, you will be required to build a new commerce binary image out of those new code changes. You then deploy the build to the selected environment in order to make these changes and improvements ready to test.
What Are Builds?
A Web shop is constantly evolving in order to engage with customers. Business requirements are fast changing. Developers implement these changes in their code. Frequently you'll be notified that there is a new code version available for the SAP Commerce Cloud application. If that is the case, you'll be requested to create a binary image of the code in order to have it available to be deployed later.
A build is the compiled code of your SAP Commerce application. The build information is pulled from the code repository that is connected to the Cloud Portal. A successful build can be deployed to a provisioned environment.

Builds
You can create a build of SAP Commerce Cloud in the Cloud Portal. You don't need to have a provisioned environment before you create a build.
There are some prerequisites before you can create a build:
- You have set up your code repository.
- You have a build manifest for SAP Commerce Cloud in your code repository.
- You connected the code repository to Cloud Portal.
Steps to Create a Build
These are the steps to create a build:
- Use the Builds option in the navigation menu. The Builds page will be opened and display a list of existing builds.
- Click Create and then enter the basic information about the build, like the name and the branch location or a unique tag that indicates the code to use for this build.
- Click Save to start with the build creation.

What Is a Deployment?
Once a successful build is available, it needs to be made operationally available in a certain part of the system or environment. The SAP Commerce Cloud administrator is responsible for deploying the build in a selected environment.
The deployment of a build in SAP Commerce Cloud involves the process of taking a build application and making it available for use in a specific environment, such as a testing, staging, or production environment. This process ensures that the software is correctly configured, integrated, and ready for execution in the target environment.

Deployments
A successful build needs to be deployed to the selected environment using SAP Commerce Cloud Portal. As a System Administrator you need to make two choices when deploying a build:
Platform Update Mode determines how the database will be updated if there are changes that needed to be applied to the database or not.
Deployment Mode determines if the underlying applications will be stopped and this can affect the site's availability.
Steps to Deploy a Build
To deploy a build into a target environment, you need to:
- Use the Builds option in the menu so that the Builds page appears.
- Select the name of the previously created build to deploy; after that, the build details page is shown.
- Use the Deploy to Environment action to make the Deploy Build page display.
- Select the target environment in which the build will be deployed.
- Decide on a database migration strategy using the Platform Update Mode dropdown menu.
- Decide on a Deployment Mode.
- Perform the deploy by clicking the Deploy button

Learn how to build and deploy your code to an environment in SAP Commerce Cloud Portal. This video provides step-by-step instructions for creating builds, monitoring status, and deploying code.
Summary
Creating builds and deploying them to the selected environment is a common administrator task to keep the business requirements in the Web shop up-to-date in your SAP Commerce Cloud system.
Further Reading
For additional information on this topic, refer to Cloud Portal Operations in the SAP Help Portal.