github.com/ouraigua/jenkins-library@v0.0.0-20231028010029-fbeaf2f3aa9b/resources/metadata/abapEnvironmentCreateTag.yaml (about)

     1  metadata:
     2    name: abapEnvironmentCreateTag
     3    description: Creates a tag for a git repository to a SAP BTP ABAP Environment system
     4    longDescription: |
     5      Creates tags for specific commits of one or multiple repositories / software components. The tag can be specified explicitly as well as being generated by an addon product version or an addon component version.
     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          aliases:
    57            - name: addonDescriptorFileName
    58        - name: repositoryName
    59          type: string
    60          description: Specifies a repository (Software Components) on the SAP BTP ABAP Environment system
    61          scope:
    62            - PARAMETERS
    63            - STAGES
    64            - STEPS
    65        - name: commitID
    66          type: string
    67          description: Specifies a commitID, for which a tag will be created
    68          scope:
    69            - PARAMETERS
    70            - STAGES
    71            - STEPS
    72        - name: tagName
    73          type: string
    74          description: Specifies a tagName that will be created for the repositories on the SAP BTP ABAP Environment system
    75          scope:
    76            - PARAMETERS
    77            - STAGES
    78            - STEPS
    79        - name: tagDescription
    80          type: string
    81          description: Specifies a description for the created tag
    82          scope:
    83            - PARAMETERS
    84            - STAGES
    85            - STEPS
    86        - name: generateTagForAddonProductVersion
    87          type: bool
    88          description: Specifies if a tag will be created for the repositories on the SAP BTP ABAP Environment system
    89          scope:
    90            - PARAMETERS
    91            - STAGES
    92            - STEPS
    93        - name: generateTagForAddonComponentVersion
    94          type: bool
    95          description: Specifies if a tag will be created for the repositories on the SAP BTP ABAP Environment system
    96          scope:
    97            - PARAMETERS
    98            - STAGES
    99            - STEPS
   100        - name: host
   101          type: string
   102          description: Specifies the host address of the SAP BTP ABAP Environment system
   103          scope:
   104            - PARAMETERS
   105            - STAGES
   106            - STEPS
   107            - GENERAL
   108        - name: cfApiEndpoint
   109          type: string
   110          description: Cloud Foundry API Enpoint
   111          scope:
   112            - PARAMETERS
   113            - STAGES
   114            - STEPS
   115            - GENERAL
   116          aliases:
   117            - name: cloudFoundry/apiEndpoint
   118        - name: cfOrg
   119          type: string
   120          description: Cloud Foundry target organization
   121          scope:
   122            - PARAMETERS
   123            - STAGES
   124            - STEPS
   125            - GENERAL
   126          aliases:
   127            - name: cloudFoundry/org
   128        - name: cfSpace
   129          type: string
   130          description: Cloud Foundry target space
   131          scope:
   132            - PARAMETERS
   133            - STAGES
   134            - STEPS
   135            - GENERAL
   136          aliases:
   137            - name: cloudFoundry/space
   138        - name: cfServiceInstance
   139          type: string
   140          description: Cloud Foundry Service Instance
   141          scope:
   142            - PARAMETERS
   143            - STAGES
   144            - STEPS
   145            - GENERAL
   146          aliases:
   147            - name: cloudFoundry/serviceInstance
   148        - name: cfServiceKeyName
   149          type: string
   150          description: Cloud Foundry Service Key
   151          scope:
   152            - PARAMETERS
   153            - STAGES
   154            - STEPS
   155            - GENERAL
   156          aliases:
   157            - name: cloudFoundry/serviceKey
   158            - name: cloudFoundry/serviceKeyName
   159            - name: cfServiceKey
   160    containers:
   161      - name: cf
   162        image: ppiper/cf-cli:v12