github.com/jaylevin/jenkins-library@v1.230.4/resources/metadata/abapEnvironmentPullGitRepo.yaml (about)

     1  metadata:
     2    name: abapEnvironmentPullGitRepo
     3    description: Pulls a git repository to a SAP BTP ABAP Environment system
     4    longDescription: |
     5      Pulls a git repository (Software Component) to a SAP BTP ABAP Environment system.
     6      Please provide either of the following options:
     7  
     8      * 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).
     9      * 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.
    10      * Only provide one of those options with the respective credentials. If all values are provided, the direct communication (via host) has priority.
    11  
    12  spec:
    13    inputs:
    14      secrets:
    15        - name: abapCredentialsId
    16          description: Jenkins credentials ID containing user and password to authenticate to the BTP ABAP Environment system or the Cloud Foundry API
    17          type: jenkins
    18          aliases:
    19            - name: cfCredentialsId
    20            - name: credentialsId
    21      params:
    22        - name: username
    23          type: string
    24          description: User for either the Cloud Foundry API or the Communication Arrangement for SAP_COM_0510
    25          scope:
    26            - PARAMETERS
    27            - STAGES
    28            - STEPS
    29          mandatory: true
    30          secret: true
    31          resourceRef:
    32            - name: abapCredentialsId
    33              type: secret
    34              param: username
    35        - name: password
    36          type: string
    37          description: Password for either the Cloud Foundry API or the Communication Arrangement for SAP_COM_0510
    38          scope:
    39            - PARAMETERS
    40            - STAGES
    41            - STEPS
    42          mandatory: true
    43          secret: true
    44          resourceRef:
    45            - name: abapCredentialsId
    46              type: secret
    47              param: password
    48        - name: repositoryNames
    49          type: "[]string"
    50          description: Specifies a list of Repositories (Software Components) on the SAP BTP ABAP Environment system
    51          scope:
    52            - PARAMETERS
    53            - STAGES
    54            - STEPS
    55        - name: repositories
    56          type: string
    57          description: Specifies a YAML file containing the repositories configuration
    58          scope:
    59            - GENERAL
    60            - PARAMETERS
    61            - STAGES
    62            - STEPS
    63        - name: host
    64          type: string
    65          description: Specifies the host address of the SAP BTP ABAP Environment system
    66          scope:
    67            - PARAMETERS
    68            - STAGES
    69            - STEPS
    70            - GENERAL
    71        - name: cfApiEndpoint
    72          type: string
    73          description: Cloud Foundry API Enpoint
    74          scope:
    75            - PARAMETERS
    76            - STAGES
    77            - STEPS
    78            - GENERAL
    79          aliases:
    80            - name: cloudFoundry/apiEndpoint
    81        - name: cfOrg
    82          type: string
    83          description: Cloud Foundry target organization
    84          scope:
    85            - PARAMETERS
    86            - STAGES
    87            - STEPS
    88            - GENERAL
    89          aliases:
    90            - name: cloudFoundry/org
    91        - name: cfSpace
    92          type: string
    93          description: Cloud Foundry target space
    94          scope:
    95            - PARAMETERS
    96            - STAGES
    97            - STEPS
    98            - GENERAL
    99          aliases:
   100            - name: cloudFoundry/space
   101        - name: cfServiceInstance
   102          type: string
   103          description: Cloud Foundry Service Instance
   104          scope:
   105            - PARAMETERS
   106            - STAGES
   107            - STEPS
   108            - GENERAL
   109          aliases:
   110            - name: cloudFoundry/serviceInstance
   111        - name: cfServiceKeyName
   112          type: string
   113          description: Cloud Foundry Service Key
   114          scope:
   115            - PARAMETERS
   116            - STAGES
   117            - STEPS
   118            - GENERAL
   119          aliases:
   120            - name: cloudFoundry/serviceKey
   121            - name: cloudFoundry/serviceKeyName
   122            - name: cfServiceKey
   123        - name: ignoreCommit
   124          type: bool
   125          description: ingores a commit provided via the repositories file
   126          scope:
   127            - PARAMETERS
   128          default: false
   129    containers:
   130      - name: cf
   131        image: ppiper/cf-cli:7