Create a release process
This topic describes how to design a release process and define actions and quality gates.
Create a process
You first create a release process, and then define its stages and actions.
To create a release process:
- Select Release Management > Processes.
Click Add Release Process to create a release process in the current workspace.
- Assign the process to a release or milestone. Fill in other process fields.
If you have an existing process from a previous release, you can duplicate the process. All the items in the process will be copied to the new process. The phases of the new process will be set to "Planned". You can modify the new process' details, stages and actions.
Define a process flow
A release process is made up of a number of stages. Each stage contains actions and quality gates.
Optionally, you can organize actions and quality gates into groups.
The following table summarizes the items that can be included in a process:
The main component of a release process.
Example: Prepare test environments
A task that a stakeholder should perform as part of a stage.
Example: Deploy Windows machine
A step that ensures that a set of criteria is met before moving on to the next stage or action. For details, see Define quality gates.
Example: Check environments are deployed correctly
An optional container for actions and quality gates. A group can contain lower level groups.
Parallel or sequential execution. Stages and groups can be defined as parallel or sequential. In a parallel stage or group, all child actions are run at the same time. In a sequential stage or group, an action starts after the preceding action has completed.
To define a process flow:
- Open a release process and select the Process Flow tab.
Click Add Stage to create the first stage in the process.
You can create groups in which to organize actions and quality gates.
Use the Run children in parallel field to determine whether the stage's or group's child items can be executed at the same time.
After creating a stage, define the actions and quality gates that make up the stage. Click Add Action or Add Quality Gate.
Associate each action and quality gate with the appropriate parent stage or group.
Assign the actions and quality gates to owners.
You can reorder items in the process tree. To reorder an item, drag the item up or down the tree. After you move the item, the timings of the surrounding items are adjusted automatically.
Note: You cannot drag an item above an item that has already started.
Use quality gates to verify that certain criteria are met before moving to the next stage. During the stage's execution, the quality gate's owner will evaluate the criteria defined in the quality gate.
To create a quality gate:
- Click Add Quality Gate. Define the quality gate's basic properties.
- Open the quality gate's details.
- In the Criteria tab, click Add User Input Criterion. Define a condition for passing the quality gate.
- Define additional criteria for passing the quality gate.
Quality gate status flags
A flag alongside the quality gate's name signals the quality gate's status:
One or more of the quality gate's criteria failed or was not evaluated.
The Failed flag displays by default as long as the gate's criteria have not been evaluated.
|Failed but overridden/ skipped||One or more of the quality gate's criteria failed. The owner nevertheless either marked the quality gate completed or skipped.|
|Passed||All the quality gate's criteria passed.|
You can hover over the status flag to view details of the gate's criteria and their evaluation.
Date and time fields
Each item in a release process, including the release process itself, includes three time-related fields: Start time, End time, Duration.
In this section:
After setting two of the fields, ALM Octane automatically sets the third field. For example, if you set an action's end time and duration, its start time will be calculated automatically based on the two other values.
In addition, ALM Octane automatically sets the start time of an item to coincide with end time of the preceding item. For example, if the last action of a stage is set to end at 3/4/2021 10:00, the next stage will be scheduled to start at that time.
After modifying any of the time values, ALM Octane automatically adjusts all the time fields that are impacted by the change.
You can pin any of the time fields in a release process item. Pinning the field instructs ALM Octane to keep the value fixed, and not adjust the value automatically when other time fields are changed. For example, if you have a firm date on which a testing action must begin, you can pin the Start time field. Now, even if you edit the end time of the preceding item, or the testing action's end time and duration, the start time will stay fixed.
To pin a time field:
- In the Process Flow grid, click the time field to enter edit mode.
- Adjust the time or duration manually, or click the pin icon.
To unpin a time field:
- In the Process Flow grid, click the time field to enter edit mode.
Click the pin icon.
The unpinned time or duration will automatically be calculated according to the surrounding time values.
After an item is started or ended, the actual start time, end time, and duration are stored in the Actual start time, Actual end time, and Actual duration fields.
You can also hover over the Start time and End time fields to view in a popup the actual vs. planned times.
By default, the Start time and End time fields display the date and time, and the Duration field displays the duration in days, hours and minutes.
Use the HIDE_HOURS_AND_MINUTES_IN_RELEASE_CONTROL parameter to display the date only.
For details, see Configuration parameters.
Start a process
When a process is created, it starts off in "Planned" phase.
When you are ready to start a process, select the process and click Start Process.
When the process' start date arrives, the process moves from "Scheduled" to "In Progress". To ignore the future start date, click Start Process Now.
The process' Current stage field displays the name of the stage that is currently in progress.
A process completes when all its stages are completed. If one of the stages fails, the overall process is set to "Failed".
When the first stage's start time arrives, the stage moves from "Scheduled" to "In Progress". To ignore a stage's future start date, click Proceed Now.
A stage is completed when all its actions and quality gates are completed. If one of the stage's items fails, the overall stage is set to "Failed".
Only one stage can run at a time. After one stage completes, the next stage begins.
Perform actions and evaluate quality gates
When the start time of a stage's first action arrives, the action moves from "Scheduled" to "Pending". To ignore the item's future start date, click Proceed Now.
If an action item is still pending 24 hours after its start time, the action is labeled "Overdue".
After an action is completed, the next action or quality gate moves to "Scheduled" or "Pending".
After all the actions and quality gates in a stage are completed or skipped, the stage itself is marked "Completed", and the next stage begins.
For details on performing actions and quality gates, see Execute release actions and quality gates.
Access to the release process settings depends on permissions granted to your user role.
For details, see Assign roles and permissions.