1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/resources/metadata/transportRequestUploadSOLMAN.yaml
Julian Schmitt 6151f36d88
Implement Release 3.0.0 of CM-Client (#3664)
* Remove --backend-type

* Delete CTS in isChangeDevelopment and change Dockerimage of CM-Client

* fix groovy unit tests

* another fix of groovy unit tests

* try to fix import of fork for Jenkins-Testing

* add workflow to create Go Binary for Jenkins-Server

* Change RepoOwner to test in Fork

* remove previous changes

* adjust docker image for TransportRequestCreate and Release

* Remove CTS from Documentation

Co-authored-by: Thorsten Duda <thorsten.duda@sap.com>
2022-04-05 12:33:19 +02:00

116 lines
3.4 KiB
YAML

metadata:
name: transportRequestUploadSOLMAN
aliases:
- name: transportRequestUploadFile
description: "Uploads a specified file into a given transport via Solution Manager"
longDescription: |
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.
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: "Service user for uploading to the Solution Manager"
secret: true
scope:
- PARAMETERS
- STAGES
- STEPS
- GENERAL
resourceRef:
- name: uploadCredentialsId
type: secret
param: username
- name: password
type: string
mandatory: true
description: "Service user password for uploading to the Solution Manager"
secret: true
scope:
- PARAMETERS
resourceRef:
- name: uploadCredentialsId
type: secret
param: password
- name: applicationId
type: string
mandatory: true
description: "Id of the application. Specifies how the file needs to be handled on server side"
scope:
- PARAMETERS
- STAGES
- STEPS
- GENERAL
- name: changeDocumentId
resourceRef:
- name: commonPipelineEnvironment
param: custom/changeDocumentId
type: string
mandatory: true
description: "ID of the change document to which the file is uploaded"
scope:
- PARAMETERS
- name: transportRequestId
resourceRef:
- name: commonPipelineEnvironment
param: custom/transportRequestId
type: string
mandatory: true
description: "ID of the transport request to which the file is uploaded"
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
- STEPS
- GENERAL
outputs:
resources:
- name: commonPipelineEnvironment
type: piperEnvironment
params:
- name: custom/changeDocumentId
- name: custom/transportRequestId
containers:
- name: cmclient
image: ppiper/cm-client:3.0.0.0