1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
sap-jenkins-library/resources/metadata/integrationArtifactUpload.yaml
Linda Siebert 49f4fcf43b
CPI- Change resourceRef of apiServiceKey (#2950)
* Change name and param in yaml

Change name and param in resourceRef of apiServiceKey param

* Generate go code
2021-06-28 16:57:37 +02:00

65 lines
2.1 KiB
YAML

metadata:
name: integrationArtifactUpload
description: Upload or Update an integration flow designtime artifact
longDescription: |
With this step you can either upload or update a integration flow designtime artifact using the OData API. Learn more about the SAP Cloud Integration remote API for updating an integration flow artifact [here](https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/d1679a80543f46509a7329243b595bdb.html).
spec:
inputs:
secrets:
- name: cpiApiServiceKeyCredentialsId
description: Jenkins credential ID for secret text containing the service key to the SAP Cloud Integration API
type: jenkins
params:
- name: apiServiceKey
type: string
description: Service key JSON string to access the Cloud Integration API
scope:
- PARAMETERS
mandatory: true
secret: true
resourceRef:
- name: cpiApiServiceKeyCredentialsId
type: secret
param: apiServiceKey
- name: integrationFlowId
type: string
description: Specifies the ID of the Integration Flow artifact
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: true
- name: integrationFlowVersion
type: string
description: Specifies the version of the Integration Flow artifact
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: true
- name: integrationFlowName
type: string
description: Specifies the Name of the Integration Flow artifact
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: true
- name: packageId
type: string
description: Specifies the ID of the Integration Package
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: true
- name: filePath
type: string
description: Specifies integration artifact relative file path.
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: true