github.com/jaylevin/jenkins-library@v1.230.4/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        - 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: commitID
    64          type: string
    65          description: Specifies a commitID, for which a tag will be created
    66          scope:
    67            - PARAMETERS
    68            - STAGES
    69            - STEPS
    70        - name: tagName
    71          type: string
    72          description: Specifies a tagName that will be created for the repositories on the SAP BTP ABAP Environment system
    73          scope:
    74            - PARAMETERS
    75            - STAGES
    76            - STEPS
    77        - name: tagDescription
    78          type: string
    79          description: Specifies a description for the created tag
    80          scope:
    81            - PARAMETERS
    82            - STAGES
    83            - STEPS
    84        - name: generateTagForAddonProductVersion
    85          type: bool
    86          description: Specifies if a tag will be created for the repositories on the SAP BTP ABAP Environment system
    87          scope:
    88            - PARAMETERS
    89            - STAGES
    90            - STEPS
    91        - name: generateTagForAddonComponentVersion
    92          type: bool
    93          description: Specifies if a tag will be created for the repositories on the SAP BTP ABAP Environment system
    94          scope:
    95            - PARAMETERS
    96            - STAGES
    97            - STEPS
    98        - name: host
    99          type: string
   100          description: Specifies the host address of the SAP BTP ABAP Environment system
   101          scope:
   102            - PARAMETERS
   103            - STAGES
   104            - STEPS
   105            - GENERAL
   106        - name: cfApiEndpoint
   107          type: string
   108          description: Cloud Foundry API Enpoint
   109          scope:
   110            - PARAMETERS
   111            - STAGES
   112            - STEPS
   113            - GENERAL
   114          aliases:
   115            - name: cloudFoundry/apiEndpoint
   116        - name: cfOrg
   117          type: string
   118          description: Cloud Foundry target organization
   119          scope:
   120            - PARAMETERS
   121            - STAGES
   122            - STEPS
   123            - GENERAL
   124          aliases:
   125            - name: cloudFoundry/org
   126        - name: cfSpace
   127          type: string
   128          description: Cloud Foundry target space
   129          scope:
   130            - PARAMETERS
   131            - STAGES
   132            - STEPS
   133            - GENERAL
   134          aliases:
   135            - name: cloudFoundry/space
   136        - name: cfServiceInstance
   137          type: string
   138          description: Cloud Foundry Service Instance
   139          scope:
   140            - PARAMETERS
   141            - STAGES
   142            - STEPS
   143            - GENERAL
   144          aliases:
   145            - name: cloudFoundry/serviceInstance
   146        - name: cfServiceKeyName
   147          type: string
   148          description: Cloud Foundry Service Key
   149          scope:
   150            - PARAMETERS
   151            - STAGES
   152            - STEPS
   153            - GENERAL
   154          aliases:
   155            - name: cloudFoundry/serviceKey
   156            - name: cloudFoundry/serviceKeyName
   157            - name: cfServiceKey
   158    containers:
   159      - name: cf
   160        image: ppiper/cf-cli:7