mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
2.1 KiB
2.1 KiB
transportRequestRelease
Description
Releases a Transport Request for a Change Document on the Solution Manager.
Prerequisites
- Change Management Client 2.0.0 or compatible version - available for download on Maven Central.
Parameters
parameter | mandatory | default | possible values |
---|---|---|---|
script |
yes | ||
changeId |
yes | ||
transportRequestId |
yes | ||
cmCredentialsId |
yes | ||
cmEndpoint |
yes |
script
- The common script environment of the Jenkinsfile running. Typically the reference to the script calling the pipeline step is provided with thethis
parameter, as inscript: this
. This allows the function to access thecommonPipelineEnvironment
for retrieving, for example, configuration parameters.changeId
- The id of the change document related to the transport request to release.transportRequestId
- The id of the transport request to release.cmCredentialsId
- The credentials to connect to the Solution Manager.cmEndpoint
- The address of the Solution Manager.
Step configuration
The following parameters can also be specified as step parameters using the global configuration file:
cmCredentialsId
cmEndpoint
Return value
None.
Exceptions
AbortException
:- If the change id is not provided.
- If the transport request id is not provided.
- If the release of the transport request fails.
Example
transportRequestRelease script:this, changeId: '001', transportRequestId: '001'