Expand my Community achievements bar.

SOLVED

Cancel the deployment in dev , QA in AEM as a cloud service

Avatar

Community Advisor

Hi All,

In case of deployment pipeline get stuck during deploy to environment step in aem as a cloud service , there is no way to cancel it by self.

Only way is to raise the adobe support ticket as of now.

Did anyone else faced the same or an other alternate approach to handle this scenario.

 

Thanks

 

Himanshu Jain
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hi @Himanshu_Jain 
There are a few APIs from cloud manager and Adobe I/O
You can try for cancelling the pipeline.

You can try via Adobe I/O
For setting up aio for command prompt, you can follow my blog below till the step Adobe I/O login:
https://www.tothenew.com/blog/aemaacs-rapid-development-environment-local-setup-and-usage/
After you are done with aio setup
You can follow the following steps for cancelling a pipeline via aio APIs:
https://github.com/adobe/aio-cli-plugin-cloudmanager#aio-cloudmanagercurrent-executioncancel-pipelin...

 

Another way is using developer API for Cloud Manager linked below.
https://developer.adobe.com/experience-cloud/cloud-manager/guides/api-usage/advancing-and-cancelling...

These APIs should work.

View solution in original post

4 Replies

Avatar

Community Advisor

@Himanshu_Jain  yes it's the same. Once the deployment has already crossed Build & Unit testing their is no "cancel" option available.  Only the backend support team from adobe can cancel the build 

 

Adobe may introduce new features or changes in the Cloud Manager interface or through any API  in future. Therefore, I recommend referring to the most up-to-date Adobe Cloud Manager documentation or contacting Adobe Support for specific guidance on canceling builds in your AEM Cloud Manager environment as of the current date.

Avatar

Correct answer by
Level 2

Hi @Himanshu_Jain 
There are a few APIs from cloud manager and Adobe I/O
You can try for cancelling the pipeline.

You can try via Adobe I/O
For setting up aio for command prompt, you can follow my blog below till the step Adobe I/O login:
https://www.tothenew.com/blog/aemaacs-rapid-development-environment-local-setup-and-usage/
After you are done with aio setup
You can follow the following steps for cancelling a pipeline via aio APIs:
https://github.com/adobe/aio-cli-plugin-cloudmanager#aio-cloudmanagercurrent-executioncancel-pipelin...

 

Another way is using developer API for Cloud Manager linked below.
https://developer.adobe.com/experience-cloud/cloud-manager/guides/api-usage/advancing-and-cancelling...

These APIs should work.

Avatar

Community Advisor

Thanks @PulkitVashistha4 for sharing the cli link for cancellation.

As of now we raised the ticket but will definitely going to use the cli for self service .

 

Thanks

Himanshu

Himanshu Jain

Avatar

Administrator

@Himanshu_Jain Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni