2021-02-19 14:07:18 +02:00
|
|
|
metadata:
|
|
|
|
name: transportRequestUploadSOLMAN
|
|
|
|
aliases:
|
|
|
|
- name: transportRequestUploadFile
|
2021-04-22 09:40:26 +02:00
|
|
|
description: "Uploads a specified file into a given transport via Solution Manager"
|
2021-02-19 14:07:18 +02:00
|
|
|
longDescription: |
|
2021-04-22 09:40:26 +02:00
|
|
|
Uploads the specified file into the given transport request via Solution Manager.
|
|
|
|
The mandatory change document ID points to the associate change document item.
|
|
|
|
The application ID specifies how the file needs to be handled on server side.
|
2021-02-19 14:07:18 +02:00
|
|
|
spec:
|
|
|
|
inputs:
|
|
|
|
secrets:
|
|
|
|
- name: uploadCredentialsId
|
2021-04-22 09:40:26 +02:00
|
|
|
description: Jenkins 'Username with password' credentials ID containing user and password to authenticate against the ABAP backend
|
2021-02-19 14:07:18 +02:00
|
|
|
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
|
2021-04-22 09:40:26 +02:00
|
|
|
description: "Service user for uploading to the Solution Manager"
|
2021-02-19 14:07:18 +02:00
|
|
|
secret: true
|
|
|
|
scope:
|
|
|
|
- PARAMETERS
|
|
|
|
- STAGES
|
|
|
|
- STEPS
|
|
|
|
- GENERAL
|
2021-03-22 12:53:37 +02:00
|
|
|
resourceRef:
|
|
|
|
- name: uploadCredentialsId
|
|
|
|
type: secret
|
|
|
|
param: username
|
2021-02-19 14:07:18 +02:00
|
|
|
- name: password
|
|
|
|
type: string
|
|
|
|
mandatory: true
|
2021-04-22 09:40:26 +02:00
|
|
|
description: "Service user password for uploading to the Solution Manager"
|
2021-02-19 14:07:18 +02:00
|
|
|
secret: true
|
|
|
|
scope:
|
|
|
|
- PARAMETERS
|
2021-03-22 12:53:37 +02:00
|
|
|
resourceRef:
|
|
|
|
- name: uploadCredentialsId
|
|
|
|
type: secret
|
|
|
|
param: password
|
2021-02-19 14:07:18 +02:00
|
|
|
- name: applicationId
|
|
|
|
type: string
|
|
|
|
mandatory: true
|
2021-04-22 09:40:26 +02:00
|
|
|
description: "Id of the application. Specifies how the file needs to be handled on server side"
|
2021-02-19 14:07:18 +02:00
|
|
|
scope:
|
|
|
|
- PARAMETERS
|
|
|
|
- STAGES
|
|
|
|
- STEPS
|
|
|
|
- GENERAL
|
|
|
|
- name: changeDocumentId
|
2021-03-19 09:58:20 +02:00
|
|
|
resourceRef:
|
|
|
|
- name: commonPipelineEnvironment
|
|
|
|
param: custom/changeDocumentId
|
2021-02-19 14:07:18 +02:00
|
|
|
type: string
|
2021-05-21 08:54:43 +02:00
|
|
|
mandatory: true
|
2021-04-22 09:40:26 +02:00
|
|
|
description: "ID of the change document to which the file is uploaded"
|
2021-02-19 14:07:18 +02:00
|
|
|
scope:
|
|
|
|
- PARAMETERS
|
|
|
|
- name: transportRequestId
|
|
|
|
resourceRef:
|
|
|
|
- name: commonPipelineEnvironment
|
|
|
|
param: custom/transportRequestId
|
|
|
|
type: string
|
2021-05-21 08:54:43 +02:00
|
|
|
mandatory: true
|
2021-04-22 09:40:26 +02:00
|
|
|
description: "ID of the transport request to which the file is uploaded"
|
2021-02-19 14:07:18 +02:00
|
|
|
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
|
2021-05-21 08:54:43 +02:00
|
|
|
- STEPS
|
2021-03-19 09:58:20 +02:00
|
|
|
- GENERAL
|
|
|
|
outputs:
|
|
|
|
resources:
|
|
|
|
- name: commonPipelineEnvironment
|
|
|
|
type: piperEnvironment
|
|
|
|
params:
|
|
|
|
- name: custom/changeDocumentId
|
|
|
|
- name: custom/transportRequestId
|
2021-03-22 12:53:37 +02:00
|
|
|
containers:
|
|
|
|
- name: cmclient
|
2022-04-05 12:33:19 +02:00
|
|
|
image: ppiper/cm-client:3.0.0.0
|