2020-04-24 15:31:41 +02:00
metadata :
name : gctsCreateRepository
description : Creates a Git repository on an ABAP system
longDescription : |
Creates a local Git repository on an ABAP system if it does not already exist.
spec :
inputs :
secrets :
- name : abapCredentialsId
description : Jenkins credentials ID containing username and password for authentication to the ABAP system on which you want to create the repository
type : jenkins
params :
- name : username
type : string
description : Username to authenticate to the ABAP system
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
2020-04-24 15:31:41 +02:00
mandatory : true
2020-04-29 16:21:55 +02:00
secret : true
2020-08-28 15:38:15 +02:00
resourceRef :
- name : abapCredentialsId
type : secret
param : username
2020-04-24 15:31:41 +02:00
- name : password
type : string
description : Password to authenticate to the ABAP system
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
2020-04-24 15:31:41 +02:00
mandatory : true
2020-04-29 16:21:55 +02:00
secret : true
2020-08-28 15:38:15 +02:00
resourceRef :
- name : abapCredentialsId
type : secret
param : password
2020-04-24 15:31:41 +02:00
- name : repository
type : string
description : Specifies the name (ID) of the local repository on the ABAP system
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
2020-04-24 15:31:41 +02:00
mandatory : true
- name : host
type : string
2020-09-24 07:41:06 +02:00
description : Specifies the protocol and host address, including the port. Please provide in the format `<protocol>://<host>:<port>`. Supported protocols are `http` and `https`.
2020-04-24 15:31:41 +02:00
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
2020-04-24 15:31:41 +02:00
mandatory : true
- name : client
type : string
2020-09-24 07:41:06 +02:00
description : Specifies the client of the ABAP system to be addressed
2020-04-24 15:31:41 +02:00
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
2020-04-24 15:31:41 +02:00
mandatory : true
- name : remoteRepositoryURL
type : string
description : URL of the corresponding remote repository
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
2020-04-24 15:31:41 +02:00
- name : role
type : string
description : Role of the local repository. Choose between 'TARGET' and 'SOURCE'. Local repositories with a TARGET role will NOT be able to be the source of code changes
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
2020-04-29 16:21:55 +02:00
possibleValues :
2020-08-31 16:10:28 +02:00
- SOURCE
- TARGET
2020-04-24 15:31:41 +02:00
- name : vSID
type : string
description : Virtual SID of the local repository. The vSID corresponds to the transport route that delivers content to the remote Git repository
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
2020-04-24 15:31:41 +02:00
- name : type
type : string
description : Type of the used source code management tool
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
2020-04-24 15:31:41 +02:00
default : GIT
2020-04-27 15:16:01 +02:00
possibleValues :
2020-08-31 16:10:28 +02:00
- GIT