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/gctsDeployCommit.yaml

71 lines
2.2 KiB
YAML
Raw Normal View History

metadata:
name: gctsDeploy
description: Pulls a commit from the remote Git repository to a local repository
longDescription: |
Pulls a commit from the corresponding remote Git repository to a specified local repository on an ABAP system. If no <commit> parameter is specified, this step will pull the latest commit available on the remote repository.
spec:
inputs:
secrets:
- name: abapCredentialsId
description: Jenkins credentials ID containing username and password for authentication to the ABAP system on which you want to deploy a commit
type: jenkins
params:
- name: username
type: string
description: User to authenticate to the ABAP system
scope:
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
mandatory: true
secret: true
resourceRef:
- name: abapCredentialsId
type: secret
param: username
- name: password
type: string
description: Password to authenticate to the ABAP system
scope:
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
mandatory: true
secret: true
resourceRef:
- name: abapCredentialsId
type: secret
param: password
- name: repository
type: string
description: Specifies the name (ID) of the local repsitory on the ABAP system
scope:
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
mandatory: true
- name: host
type: string
description: Specifies the protocol and host address, including the port. Please provide in the format `<protocol>://<host>:<port>`. Supported protocols are `http` and `https`.
scope:
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
mandatory: true
- name: client
type: string
description: Specifies the client of the ABAP system to be addressed
scope:
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
mandatory: true
- name: commit
type: string
description: Specifies the commit to be deployed
scope:
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS