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

     1  metadata:
     2    name: abapEnvironmentCloneGitRepo
     3    description: Clones a git repository to a SAP BTP ABAP Environment system
     4    longDescription: |
     5      Clones 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: repositories
    49          type: string
    50          description: Specifies a YAML file containing the repositories configuration
    51          scope:
    52            - GENERAL
    53            - PARAMETERS
    54            - STAGES
    55            - STEPS
    56        - name: repositoryName
    57          type: string
    58          description: Specifies a repository (Software Components) on the SAP BTP ABAP Environment system
    59          scope:
    60            - PARAMETERS
    61            - STAGES
    62            - STEPS
    63        - name: branchName
    64          type: string
    65          description: Specifies a branch of a repository (Software Components) on the SAP BTP ABAP Environment system
    66          scope:
    67            - PARAMETERS
    68            - STAGES
    69            - STEPS
    70        - name: host
    71          type: string
    72          description: Specifies the host address of the SAP BTP ABAP Environment system
    73          scope:
    74            - PARAMETERS
    75            - STAGES
    76            - STEPS
    77            - GENERAL
    78        - name: cfApiEndpoint
    79          type: string
    80          description: Cloud Foundry API Enpoint
    81          scope:
    82            - PARAMETERS
    83            - STAGES
    84            - STEPS
    85            - GENERAL
    86          aliases:
    87            - name: cloudFoundry/apiEndpoint
    88        - name: cfOrg
    89          type: string
    90          description: Cloud Foundry target organization
    91          scope:
    92            - PARAMETERS
    93            - STAGES
    94            - STEPS
    95            - GENERAL
    96          aliases:
    97            - name: cloudFoundry/org
    98        - name: cfSpace
    99          type: string
   100          description: Cloud Foundry target space
   101          scope:
   102            - PARAMETERS
   103            - STAGES
   104            - STEPS
   105            - GENERAL
   106          aliases:
   107            - name: cloudFoundry/space
   108        - name: cfServiceInstance
   109          type: string
   110          description: Cloud Foundry Service Instance
   111          scope:
   112            - PARAMETERS
   113            - STAGES
   114            - STEPS
   115            - GENERAL
   116          aliases:
   117            - name: cloudFoundry/serviceInstance
   118        - name: cfServiceKeyName
   119          type: string
   120          description: Cloud Foundry Service Key
   121          scope:
   122            - PARAMETERS
   123            - STAGES
   124            - STEPS
   125            - GENERAL
   126          aliases:
   127            - name: cloudFoundry/serviceKey
   128            - name: cloudFoundry/serviceKeyName
   129            - name: cfServiceKey
   130    containers:
   131      - name: cf
   132        image: ppiper/cf-cli:7