Understanding deployment status at various deployment stages - Part 1

Document ID : KB000039744
Last Modified Date : 14/02/2018
Show Technical Document Details

Introduction:

Each deployment in Release Automation has various stages it undergoes during it's execution time. We have seen various time where there is lot of confusion around its understanding and mixing up of this with process status.

Due to length of this document we have created it as series document with two parts in which we are going to provide and overview of various deployment status and understanding there impact on each deployment stages.

Background:

Each deployment in Release Automation has various mentioned below stages, stage status and deployment status. Deployment in Release Automation logically can be considered as parent entity encapsulating one or more processes and its status are not comparable with that of process status. The important analogy which is worth remembering is that Deployment/Release is a set and each process is a set member. Below is a tabular presentation of Deployment stage, stage-status and deployment status.

 

Stage

Initialize

Approval

Deployment

Post Deployment

 

 

Current Stage Status

Pending

Running

Paused

Running with Errors

Succeed

Failed

 

Deployment Status

Active

Failed

Succeeded

Cancelled

 

 

Environment:

The information in this document is captured from Release Automation version 5.5.X.

Instructions:

Scenario-1

  • Current stage: Approval Gate
  • Stage status: Pending
  • Deployment status: Active

Release Stage

1.jpg

Deployment Status

2.jpg

 Scenario-2

  • Current stage: Deployment
  • Stage status: Pending
  • Deployment status: Active

Release Stage

3.jpg

Deployment Status

4.jpg

 Scenario-3

  • Current stage: Deployment
  • Stage status: Running
  • Deployment status: Active

Release Stage

5.jpg

Deployment Status

6.jpg

Additional Information:

  • If any action of a process fails with error, waits for user input etc. the execution stage of release will either be “running with errors” or “running”
  • We need to understand that an actions are member of process set and processes are member of release/deployment set. Deployment status action is linked to Release/Deployment state

Reference:

Understanding deployment status at various deployment stages - Part 2