1243
Views
9
Comments
Solved
How to cancel deployment 
Question

Now i am deploying from Dev to QA server. 

Although the deploying has finished to QA but the   "Generating mobile apps" hasn't finished.

the status has been continuing more than 3 hours.

i checked the latest version in QA  and it definitely completed deployment.

How can i  cancel or complete this ?

Rank: #53547
Solution

I solved this by doing  the below.

  1. Write down the Staging ID of the staging that wasn't successfully completed;
  2. How to get the Staging ID? Go to Lifetime > Applications > Click in target environment name > Change Log > Check for "Created deployment plan #<NUMBER> between environments 'X' and 'Y').
  3. Access to https://<yourinfrastructure>/lifetime/ForceStagingClose.aspx and introduce the Staging ID that you want to abort.
Champion
Rank: #182

Hi!

This tip of accessing https://<yourinfrastructure>/lifetime/ForceStagingClose.aspx to force the termination of a deployment was very helpful!

Just one note: You will need permission to be able to do this.

What this will do is terminate your deployment plan by marking it complete, but the execution will remain in whichever steps it was when it was terminated.

--Tiago Bernardo

Rank: #82051

Hi!

Can you tell us what permissions we need? We did a similar action but we cannot cancel the deployment despite already using an account with administrator role (with manage infra and manage teams role)

Regards,

Calvin Enriquez

Rank: #41254

Hi ! 

I have the same behavior, but I have two questions.


Did this affect something in the target environment?


 Did you have any impact on the application?


Regards.

mvp_badge
MVP
Rank: #159

Hi,

I'm having this same issue,

I've administrator role in the enviroments and I'm receiving the same message:

You have no permissions to do this. Ask your infrastructure manager to perform this action.

And the Administrator role has Manage infrastruture and Users permission.

 




Rank: #42324

Hi All,

Am facing similar issue in JAVA stack where am trying to connect to https://<infrastructure>/lifetime/ForceStagingClose.aspx but its throwing 404 not found error. Do i need to install these forcestaging componet in lifetime server, if so please provide the documentation (or) details to follow

Thanks much in Advance..!!

Regards,

Sripriya Sekar