The release process flow
A release process is made up of a number of stages. Each stage contains actions, manual and automated, and quality gates. Optionally, you can organize actions and quality gates into groups.
The following sections provide details about the release process items and their time frames.
Release process items
The following table summarizes the items that can be included in a release process:
Item type | Details |
---|---|
Stage |
The main component of a release process. Example: Prepare test environments |
Action |
A task that should be performed as part of a stage. There are two types of actions:
|
Quality Gate |
A task 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 if environments are deployed correctly. |
Group |
An optional container for actions and quality gates. A group can contain lower level groups. |
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.
The following table describes actions you can perform on date and time fields:
Action | Details |
---|---|
Auto-adjust times |
After you set two of the fields, ALM Octane automatically sets the third field. For example, if you set an action's end time and duration, the action's start time is 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 is 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. |
Pin time fields |
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 stays fixed. To pin a time field:
To unpin a time field:
|
Set the format of time fields |
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. |
Actual versus planned times
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.
Tip: Hover over the Start time and End time fields to open a popup showing the actual vs. planned times.
Execution flow with variables
This section describes a typical flow, using auto actions, quality gates, and variables in the release process flow.
The use of variables allows you to automatically connect the stages of your testing process with up-to-date and relevant data.
-
For details about creating and running variables, see Create process variables.
-
For details on how to add variables to your actions, see Run a release process.
Note: Variables are available from ALM Octane 16.2.100.
Stage | Action | Input variables | Output variables |
---|---|---|---|
Run a nightly build |
Auto action: Nightly build |
|
|
Deploy the environment |
Auto action: Deploy QA env |
|
|
Run sanity tests |
Auto action: Sanity tests Quality gate: No failed runs for critical tests in latest nightly build. Criterion filters test runs by job name and build number. |
|
|
Run additional tests - Stage 1 |
Auto action: Run UFT One tests Quality gate: check that all tests were executed. |
|
|
Run additional tests - Stage 2 |
Auto action: Generate doc report with results of run, suing a template that shows last runs from last day, per job name. |
|
|
Send notifications |
Auto actions:
|
|
|
Run updates |
Manual actions:
|
Next steps: