내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

How to rollback production deployment in case of build failure

Avatar

Level 5

Hi Team,

 

How to rollback to stable build incase of build failure in prod deployment pipeline?

 

Thanks

 

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 2

Hi,

 

If this is AEM as a Cloud Service environment, then you can raise a support ticket to get the production environment rolled back. For more information you can follow the below document:

 

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/operations/backup.h...

 

One more option is you can revert your branch to a stable code version and then deploy the pipeline again.

원본 게시물의 솔루션 보기

5 답변 개

Avatar

Employee Advisor

HI @aem-enthu27 ,

Are you referring to AEM as cloud service?

If so, there is no rollback needed if the deployment fails. If the deployment is successful, then only your newly created AEM instance is exposed and replaced with the old one, If the build fails, you system is already in place which is the previous stable version. No need to do anything to stabilize the instance. About the code, you will have to revert the changes to prod branch in order to have environment and code in sync.

Avatar

Level 5

So if build fails bcz of any reason, site will not be down as it is not yet deployed. But after successfull deployment if you feel build is not stable and some of the functionalities are not working propeerly then we can go for rollback. Is my understanding correct?

Avatar

Employee Advisor

Yes. That is the exact use case here. However, stage and prod are identical servers, so if any changes are pushed, you can keep it on stage verify it completely and then promote. If you still need to roll back, you have to raise Adobe ticket. Please find the details here - https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/operations/backup.h...

 

 

  

Avatar

정확한 답변 작성자:
Level 2

Hi,

 

If this is AEM as a Cloud Service environment, then you can raise a support ticket to get the production environment rolled back. For more information you can follow the below document:

 

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/operations/backup.h...

 

One more option is you can revert your branch to a stable code version and then deploy the pipeline again.

Avatar

Level 2

Hi,

If you are doing deployment manually or CM pipeline there is no automate to revert the code. Usually as part of deployment plan , will take the back up. if you are through CM Pipeline back up will took by pipeline automatically.

If the build is failed. Have to roll back the backup package to reinstall.