mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
60feb3409f
Upload content into a transport request via SOLMAN Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
93 lines
2.7 KiB
YAML
93 lines
2.7 KiB
YAML
metadata:
|
|
name: transportRequestUploadSOLMAN
|
|
aliases:
|
|
- name: transportRequestUploadFile
|
|
description: "Uploads content to a transport request"
|
|
longDescription: |
|
|
Uploads content to a transport request which is associated with a change document in SAP Solution Manager
|
|
spec:
|
|
inputs:
|
|
secrets:
|
|
- name: uploadCredentialsId
|
|
description: Jenkins 'Username with password' credentials ID containing user and password to authenticate against the ABAP backend.
|
|
type: jenkins
|
|
aliases:
|
|
- name: changeManagement/credentialsId
|
|
params:
|
|
- name: endpoint
|
|
type: string
|
|
mandatory: true
|
|
description: "Service endpoint"
|
|
aliases:
|
|
- name: changeManagement/endpoint
|
|
scope:
|
|
- PARAMETERS
|
|
- STAGES
|
|
- STEPS
|
|
- GENERAL
|
|
- name: username
|
|
type: string
|
|
mandatory: true
|
|
description: "Operating system user for triggering the deployment"
|
|
secret: true
|
|
scope:
|
|
- PARAMETERS
|
|
- STAGES
|
|
- STEPS
|
|
- GENERAL
|
|
- name: password
|
|
type: string
|
|
mandatory: true
|
|
description: "Password for the deploy user"
|
|
secret: true
|
|
scope:
|
|
- PARAMETERS
|
|
- name: applicationId
|
|
type: string
|
|
mandatory: true
|
|
description: "Id of the application."
|
|
scope:
|
|
- PARAMETERS
|
|
- STAGES
|
|
- STEPS
|
|
- GENERAL
|
|
- name: changeDocumentId
|
|
type: string
|
|
mandatory: true
|
|
description: "Id of the change document to upload the file. This parameter is only taken into account when provided via signature to the step."
|
|
scope:
|
|
- PARAMETERS
|
|
- name: transportRequestId
|
|
resourceRef:
|
|
- name: commonPipelineEnvironment
|
|
param: custom/transportRequestId
|
|
type: string
|
|
mandatory: true
|
|
description: "Id of the transport request to upload the file. This parameter is only taken into account when provided via signature to the step."
|
|
scope:
|
|
- PARAMETERS
|
|
- name: filePath
|
|
resourceRef:
|
|
- name: commonPipelineEnvironment
|
|
param: mtarFilePath
|
|
type: string
|
|
mandatory: true
|
|
description: "Name/Path of the file which should be uploaded"
|
|
scope:
|
|
- PARAMETERS
|
|
- STAGES
|
|
- STEPS
|
|
- GENERAL
|
|
- name: cmClientOpts
|
|
aliases:
|
|
- name: clientOpts
|
|
- name: changeManagement/clientOpts
|
|
type: "[]string"
|
|
mandatory: true
|
|
description: "Additional options handed over to the cm client"
|
|
scope:
|
|
- PARAMETERS
|
|
- STAGES
|
|
- STEP
|
|
- GENERAL
|