# Is there any way to rollback build for microservice like we can do for UI builds

**URL:** <https://community.cumulocity.com/t/is-there-any-way-to-rollback-build-for-microservice-like-we-can-do-for-ui-builds/2647>\
**Category:** Forum\
**Tags:** cumulocity\
**Created:** [July 20, 2023, 10:35am UTC](https://community.cumulocity.com/t/is-there-any-way-to-rollback-build-for-microservice-like-we-can-do-for-ui-builds/2647 "2023-07-20T10:35:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam123](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/sam123/32/14460_2.png) [@Sam123](https://community.cumulocity.com/u/Sam123)\
**Post date:** [July 20, 2023, 10:35am UTC](https://community.cumulocity.com/t/is-there-any-way-to-rollback-build-for-microservice-like-we-can-do-for-ui-builds/2647/1 "2023-07-20T10:35:34Z")

</div>

#### \ ***Product/components** used and **version/fix** level:

Cumulocity Production

#### \*Detailed explanation of the problem:

How can we rollback our deployed build in microservice like we can do it in UI. Is there any process we can follow? Please let me know if there is any way.

Thanks,  
Samanyu

---

<div class="post-metadata">

**Author:** ![Harald\_Meyer](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/harald_meyer/32/1959_2.png) [@Harald\_Meyer](https://community.cumulocity.com/u/Harald_Meyer)\
**Post date:** [July 20, 2023, 12:17pm UTC](https://community.cumulocity.com/t/is-there-any-way-to-rollback-build-for-microservice-like-we-can-do-for-ui-builds/2647/2 "2023-07-20T12:17:39Z")

</div>

Hi Samanyu,

microservice binaries are not stored in Cumulocity due to their size so this functionality is not available.

Best regards,  
Harald

---

<div class="post-metadata">

**Author:** ![Stefan\_Witschel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/stefan_witschel/32/31955_2.png) [@Stefan\_Witschel](https://community.cumulocity.com/u/Stefan_Witschel)\
**Post date:** [July 20, 2023, 4:15pm UTC](https://community.cumulocity.com/t/is-there-any-way-to-rollback-build-for-microservice-like-we-can-do-for-ui-builds/2647/3 "2023-07-20T16:15:54Z")

</div>

In addition to Haralds answer:

You should handle this rollback and deployment in an external tool / pipeline like jenkins or github actions using the application REST API.

So if your current build is having issues, just upload an older release to the platform. It might be necessary to delete the application and re-create it because there are some versions checks when not using “SNAPSHOT” in the version.

---

<div class="post-metadata">

**Author:** ![Sam123](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/sam123/32/14460_2.png) [@Sam123](https://community.cumulocity.com/u/Sam123)\
**Post date:** [July 21, 2023, 5:43am UTC](https://community.cumulocity.com/t/is-there-any-way-to-rollback-build-for-microservice-like-we-can-do-for-ui-builds/2647/4 "2023-07-21T05:43:09Z")

</div>

Okay Thank you

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)\
**Post date:** [January 17, 2024, 5:43am UTC](https://community.cumulocity.com/t/is-there-any-way-to-rollback-build-for-microservice-like-we-can-do-for-ui-builds/2647/5 "2024-01-17T05:43:14Z")

</div>

Closed on January 17, 2024, 5:43am UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
