Automated Transport import along with Transport Promotion
Last updated
Last updated
Release Pipelines orchestrate automated deployments into SAP environments with the right approvals in place. Each pipeline can contain one or more stages, corresponding to SAP environments like Dev, QA, Staging, and Production.
Creating a Release Pipeline is a three-step process.
Step1
Enter a name in Release Pipeline Name
Step2
Click 'Add Stages' to add the required stages. Add various types of pre-deployment, deployment, and post-deployment tasks as needed.
Step3
Specify the email ids to receive notifications about release pipeline execution status.
Select the required On-Prem Project and in Release go to Release Pipelines.
Click Create New Release Pipeline.
Release Pipeline Name: Give a name for the release pipeline.
Add Stages:
Click Add Stage
Name the stage (e.g., Dev
, QA
, UAT
, Prod
)
Click OK
Add Tasks in Each Stage: Click Add to configure tasks within the stage.
Once all tasks are added, click the Save button to finalize the pipeline configuration.
Once the Release Pipeline is created, you can use the Actions button for the following options:
Delete: Permanently removes the pipeline from the project.
Save As: Opens a popup where you can enter a new name and create a copy of the pipeline.
When you click the navigation button, you can view the complete status of the release pipeline execution. This includes:
Who triggered the pipeline
The trigger time
The current execution status of each stage
When you click the Details tab, you can view:
Stage-wise release logs
Task-level results
Validation reports
Skip and Continue Option in the Validation Task
In the Release Pipeline > Details section, during pipeline execution, you will find Skip and Continue button available for the Validation Task. This button allow you to bypass the validation step under specific conditions—typically used in exception scenarios where validations are not mandatory or have been reviewed externally. When you click on the Skip and Continue button:
A popup dialog will appear prompting you to provide a justification or reason for skipping the validation task (e.g., "Validation not required for this transport", "Approved via external review", or "Urgent fix deployment").
Enter the required reason in the text field.
Click Skip and Continue within the popup to proceed.
The pipeline will then skip the validation step and continue with the next task in the stage .
Deployment Task
Define artifact deployment steps
Wait for Promotion
Pauses pipeline for manual promotion
Validation Task
Performs static code analysis
The Deployment Task defines how an SAP transport request (TR) is deployed to the specified SAP target system during pipeline execution. When you add a Deployment Task to a pipeline stage, a configuration screen appears where you can provide the necessary transport deployment details.
Fill in the required details:
Name
Deployment task name
Domain Controller
Select the appropriate Transport Domain Controller which is the system from which one can make changes to SAP Transport Management System.
Target System
Enter the Target System which is to be updated with the changes from the Source System.
Schedule Time
Allows you to specify a future time and date for when the deployment task should be executed automatically.
Notify Users
Sends deployment status notifications (Success/Failure) to all users associated with the pipeline stage.
Notify Transport Users
Notifies only those users who are linked to the transports being deployed, providing more targeted communication.
Notify Promotion User
Sends notifications to the user who promoted the user story or release package that triggered this deployment.
Description
A free-text area where you can enter notes or additional information about the deployment task. This is useful for providing context or specific instructions.
By default, a pipeline executes the configured tasks sequentially, one after the other. The Wait for Promotion task is used to pause the execution at a specific stage, preventing the pipeline from automatically proceeding to the next stage. It holds the process until a manual promotion is triggered by the user. Multiple tasks waiting at the same stage can be grouped into a Release Package, allowing them to be promoted together to the next stage in the Release Pipeline.
Validation task is added to perform Static Code Analysis checks and generate the validation report to view the errors encountered.
Field / Option
Description
Domain Controller
Dropdown to select the domain controller for the transport landscape.
Source
Source system from where transports will be validated.
Target
Target system where the transport is expected to move.
Pipeline Execution
Section indicating execution preferences for the task.
Continue on Failure
Checkbox to allow pipeline execution to continue even if validation fails.
Quality Checks
ATC Checks: Executes ABAP Test Cockpit (ATC) checks to analyze code quality, syntax errors, performance, and security compliance.
Impact Analysis: Checks how the changes in the transport affect other dependent or referencing objects across systems.
Unit Tests: Runs ABAP Unit Tests to verify the functional correctness of the objects in the transport.
User Story Dependencies (Beta): Identifies and validates dependent user stories to prevent conflicts or incomplete deployments.
Note: You can select any one or more of the following Quality Checks when configuring the validation task.
Promotion is the process of Moving/Deploying/Importing the transports to the target systems using a Release pipeline associated with the project.
Pre-requisite for the promotion to work is that every stage in the Release pipeline should end with “Promotion Task”. Promotion can be performed in two ways – via User Story and via Release Package.
1. From Actions Menu of the User story, promotion can be done.
2. Clicking Promote will Trigger the Release pipeline associated with the project.
3. The column “Pipeline Stage” shows the current stage in the Release Pipeline execution and status of the Release Pipeline.
4. The column “Pipeline Status” shows the current task in the stage or overall status of the Release Pipeline.
5. Runtime view of the pipeline can be viewed using “Pipeline Activity” menu option in the Actions Menu.
6. The pipeline activity screen shows all the stages of the Release Pipeline. Clicking on the stage shows the tasks and its execution status.
7. Once Pipeline execution reaches the “Promotion Task”, the pipeline will continue to wait until further promotion from the User Story or Release Package.
8. User Story can be promoted to the next stage (in this case, Prod) or a new Release Package can be created with all the User Stories waiting in UAT stage (here in this case) for getting promoted to Prod.
Release Package is a logical grouping of user stories or transports that are to be promoted as a single unit instead of promoting each user story separately. If Start stage is mentioned in the Release package, then only the user stories or transports with the current stage same as the one specified in the Release Package are eligible for promotion. It uses the Release Pipeline associated with the project for promotion.
1. Clicking “Add Stories for Promotion” will add all the user stories eligible for promotion from the selected Promoted from (Stage) as a unit.
Key Points to Note:
(a) By default, the Promote from Stage is set to Dev. If you want to promote stories already pushed to QA, simply select QA as the source stage. This allows you to promote all eligible QA stories to the next stage as a single unit instead of doing it individually.
(b) If a user story is at a lower stage than the selected Promote from Stage, you must first promote that story to the required stage before including it in the Release Package.
(c) User stories that are already at a higher stage than the selected Promote from Stage cannot be added to the Release Package.
(d) You may add other user stories manually using the “Add User Stories” option, but ensure those are also promoted to the selected stage before promoting the entire package.
1. Clicking “Add Stories for Promotion” will add all the transports eligible for promotion from the selected Promoted from (Stage) as a unit.
The following points apply when promoting a Release Package based on transports:
(e) By default, the Promote from Stage is set to Dev. If you wish to promote all transports already pushed to QA, select QA from the available options. This allows all transports in QA to be promoted to the next stage as a single unit rather than promoting them individually.
(f) If you add transports that are currently at a lower stage than the selected Promote from Stage, ensure those transports are promoted to the appropriate stage before including them in the Release Package.
(g) You cannot add transports that are already at a higher stage than the selected Promote from Stage.
(h) You can manually add additional transports using the “Add Transport” option. However, make sure these transports are also promoted to the selected stage before attempting to promote the entire Release Package.
2. From the Action Menu of the Release package, click on “Promote”.
3. Execution of the Release package can be seen using the option “Pipeline Activity.”
4. Once Promotion for Release package starts then the Release Package will be locked and no changes are possible like addition of more user stories or transports.
5. User has to unlock Release Package to backout any of the user stories or transports after promotion. In role permissions, user should have Unlock Release Package permission.
Any number of stages can be added while creating a release pipeline. An existing release pipeline can also be edited to include various stages.
This is required when we want the deployments to take place in multiple environments one after the other continuously which is a part of Continuous Delivery.
For each stage, the tasks are to be added separately. This corresponds to the tasks that are to be performed in that particular environment for the deployment to take place and the required actions that are to be taken.