2020-02-04 12:43:27 +02:00
metadata :
name : abapEnvironmentPullGitRepo
2022-03-14 16:12:35 +02:00
description : Pulls a git repository to a SAP BTP ABAP Environment system
2020-02-04 12:43:27 +02:00
longDescription : |
2022-03-14 16:12:35 +02:00
Pulls a git repository (Software Component) to a SAP BTP ABAP Environment system.
2020-02-04 12:43:27 +02:00
Please provide either of the following options :
2020-02-05 16:46:14 +02:00
2022-03-14 16:12:35 +02:00
* The host and credentials the BTP ABAP Environment system itself. The credentials must be configured for the Communication Scenario [SAP_COM_0510](https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/b04a9ae412894725a2fc539bfb1ca055.html).
2020-02-05 16:46:14 +02:00
* The Cloud Foundry parameters (API endpoint, organization, space), credentials, the service instance for the ABAP service and the service key for the Communication Scenario SAP_COM_0510.
* Only provide one of those options with the respective credentials. If all values are provided, the direct communication (via host) has priority.
2020-02-04 12:43:27 +02:00
spec :
inputs :
secrets :
2020-05-14 14:48:12 +02:00
- name : abapCredentialsId
2022-03-14 16:12:35 +02:00
description : Jenkins credentials ID containing user and password to authenticate to the BTP ABAP Environment system or the Cloud Foundry API
2020-02-04 12:43:27 +02:00
type : jenkins
2020-05-14 14:48:12 +02:00
aliases :
- name : cfCredentialsId
- name : credentialsId
2020-02-04 12:43:27 +02:00
params :
- name : username
type : string
description : User for either the Cloud Foundry API or the Communication Arrangement for SAP_COM_0510
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
2020-02-04 12:43:27 +02:00
mandatory : true
2020-04-16 14:37:45 +02:00
secret : true
2020-08-28 15:38:15 +02:00
resourceRef :
- name : abapCredentialsId
type : secret
param : username
2020-02-04 12:43:27 +02:00
- name : password
type : string
description : Password for either the Cloud Foundry API or the Communication Arrangement for SAP_COM_0510
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
2020-02-04 12:43:27 +02:00
mandatory : true
2020-04-16 14:37:45 +02:00
secret : true
2020-08-28 15:38:15 +02:00
resourceRef :
- name : abapCredentialsId
type : secret
param : password
2020-05-07 15:51:11 +02:00
- name : repositoryNames
2020-08-31 16:10:28 +02:00
type : "[]string"
2022-03-14 16:12:35 +02:00
description : Specifies a list of Repositories (Software Components) on the SAP BTP ABAP Environment system
2020-02-04 12:43:27 +02:00
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
2020-10-05 14:38:35 +02:00
- name : repositories
type : string
description : Specifies a YAML file containing the repositories configuration
scope :
- GENERAL
- PARAMETERS
- STAGES
- STEPS
2022-06-28 11:02:15 +02:00
- name : repositoryName
type : string
description : Specifies a repository (Software Component) on the SAP BTP ABAP Environment system
scope :
- PARAMETERS
- STAGES
- STEPS
- name : commitID
type : string
description : Specifies a commitID of the repository, configured via "repositoryName" on the SAP BTP ABAP Environment system
scope :
- PARAMETERS
- STAGES
- STEPS
2020-02-04 12:43:27 +02:00
- name : host
type : string
2022-03-14 16:12:35 +02:00
description : Specifies the host address of the SAP BTP ABAP Environment system
2020-02-04 12:43:27 +02:00
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
- GENERAL
2020-02-04 12:43:27 +02:00
- name : cfApiEndpoint
type : string
description : Cloud Foundry API Enpoint
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
- GENERAL
2020-02-04 12:43:27 +02:00
aliases :
- name : cloudFoundry/apiEndpoint
- name : cfOrg
type : string
description : Cloud Foundry target organization
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
- GENERAL
2020-02-04 12:43:27 +02:00
aliases :
- name : cloudFoundry/org
- name : cfSpace
type : string
description : Cloud Foundry target space
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
- GENERAL
2020-02-04 12:43:27 +02:00
aliases :
- name : cloudFoundry/space
- name : cfServiceInstance
type : string
description : Cloud Foundry Service Instance
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
- GENERAL
2020-02-04 12:43:27 +02:00
aliases :
- name : cloudFoundry/serviceInstance
2020-06-30 15:46:07 +02:00
- name : cfServiceKeyName
2020-02-04 12:43:27 +02:00
type : string
description : Cloud Foundry Service Key
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
- GENERAL
2020-02-04 12:43:27 +02:00
aliases :
- name : cloudFoundry/serviceKey
2020-05-14 14:48:12 +02:00
- name : cloudFoundry/serviceKeyName
2020-06-30 15:46:07 +02:00
- name : cfServiceKey
2020-11-02 15:17:13 +02:00
- name : ignoreCommit
type : bool
description : ingores a commit provided via the repositories file
scope :
- PARAMETERS
default : false
2020-02-04 12:43:27 +02:00
containers :
- name : cf
2023-01-12 10:39:14 +02:00
image : ppiper/cf-cli:v12