Commerce

Setting Up the Release Pipeline for Optimizely B2B Commerce Cloud

Once we’ve completed the build pipeline setup and it’s running successfully, it’s time for the final step in your process: setting up the release pipeline. The release pipeline is used to deploy the artifact generated by the build pipeline to a server.

Follow the steps below to set up the release pipeline:

  1. Set up the Deployment Group. A deployment group is a logical set of deployment target machines that have agents installed on each one. Deployment groups represent the physical environments, such as “Dev,” “Test,” “UAT,” and “Production.” In effect, a deployment group is just another grouping of agents, much like an agent pool.

Follow the steps shown in the video below for setting up the deployment group.

  1. Once the Deployment Group is set up and starts showing online, navigate to the pipeline and click “+ New” and choose “New release pipeline.”

Note: InsiteCommerce is now Optimizely B2B Commerce

You will see the options “Artifacts” and “Stages” on the new pipeline configuration page.

  1. “Add an artifact” allows you to choose from where you want to pick the artifacts.

  1. We are using the “Build” option as a source type because my project repo is on the same Azure DevOps environment. After selecting the source type, you need to select the Project and Source (build pipeline).

Add An Artifact Build

  1. Select the Source (i.e. Name or ID of the build pipeline that publishes the artifact).

  1. Select default version “Latest” to deploy the latest build artifact when the release pipeline is executed. The version can be changed for manually created releases at the time of release creation.

  1. It’s time to set up the stages once the artifact is set up. A stage in a release pipeline consists of jobs and tasks.
  2. To add a stage in your release pipeline, select the “Add” and click “New stage release pipeline” on the releases page.
  3. After adding a stage, add the task (job) by selecting the empty job or using the pre-defined template, such as “IIS Website Deployment.”

 

  1. Once you’ve added the stage, you must now configure the task (job), which will require you to deploy the artifacts generated by the build pipeline to the server.

Below are the minimum tasks required to configure to deploy the web application into the IIS (Web Server):

Check out the video for details on the task added in the stage configuration:

Simple and Easy Pipeline Processes

Following these simple, seamless steps can ensure proper release pipeline setup to your application. Technical processes can be easy as long as you have the right partner like Perficient to help you. For more information on these technical processes, contact our experts today.

About the Author

Nitin Garg is a Lead Technical Consultant with a demonstrated history of working in the information technology and services industry. He has over 10 years of experience in the eCommerce domain using the platform like (Insite Commerce & Znode B2B commerce) and .Net based application.

More from this Author

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.