b2c-crm-sync icon indicating copy to clipboard operation
b2c-crm-sync copied to clipboard

Code Version getting replaced

Open sridhar5678 opened this issue 3 years ago • 1 comments

Hi, we are using b2c-crm-sync connector to connect with Commerce Cloud & Service Cloud.

IN CC, we use Jenkins for code release to staging and new code version id appended with date and time are pushed to staging and replicated to the production in CRM sync, we have the env file to add the CC code version.

Issue: Everytime the SC run Crm SYNC , sync override the CC code with previous version

we have manually update the code version everytime we there is an release..

Is it possible to add codeversion with wild card so that CRM takes the latest active code

Please provide me if there is any workaround

sridhar5678 avatar Oct 12 '21 11:10 sridhar5678

Hello @sridhar5678 ,

A workaround on this would be to, from Jenkins, always check out the branch/tag from b2c-crm-sync that you are using (v0.9.0 for instance). Then, once the code is checkout on Jenkins, you could basically copy over the b2c-crm-sync cartridges into your project's workspace, and so use your already-in-place deployment logic, including the b2c-crm-syn cartridges. This means you won't use the b2c-crm-sync CLI commands to deploy anymore.

jbachelet avatar Dec 13 '21 16:12 jbachelet