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

     1  metadata:
     2    name: abapEnvironmentCheckoutBranch
     3    description: Switches between branches of a git repository on a SAP BTP ABAP Environment system
     4    longDescription: |
     5      This step switches between branches of a git repository (Software Component) on 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: repositoryName
    49          type: string
    50          description: Specifies a Repository (Software Component) on the SAP BTP ABAP Environment system
    51          scope:
    52            - PARAMETERS
    53            - STAGES
    54            - STEPS
    55        - name: branchName
    56          type: string
    57          description: Specifies a Branch of a Repository (Software Component) on the SAP BTP ABAP Environment system
    58          scope:
    59            - PARAMETERS
    60            - STAGES
    61            - STEPS
    62        - name: host
    63          type: string
    64          description: Specifies the host address of the SAP BTP ABAP Environment system
    65          scope:
    66            - PARAMETERS
    67            - STAGES
    68            - STEPS
    69            - GENERAL
    70        - name: repositories
    71          type: string
    72          description: Specifies a YAML file containing the repositories configuration
    73          scope:
    74            - GENERAL
    75            - PARAMETERS
    76            - STAGES
    77            - STEPS
    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: cfServiceKeyName
   130    containers:
   131      - name: cf
   132        image: ppiper/cf-cli:7