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

     1  metadata:
     2    name: transportRequestUploadCTS
     3    aliases:
     4      - name: transportRequestUploadFile
     5    description: This step uploads an UI5 application to the SAPUI5 ABAP repository.
     6    longDescription: |
     7      This step uploads an UI5 application from your project folder to the SAPUI5 ABAP repository of the SAPUI5 ABAP back-end infrastructure using the SAPUI5 Repository OData service.
     8      It processes the results of the `ui5 build` command of the SAPUI5 toolset.
     9  spec:
    10    inputs:
    11      secrets:
    12        - name: uploadCredentialsId
    13          description: Jenkins 'Username with password' credentials ID containing user and password to authenticate against the ABAP system.
    14          type: jenkins
    15          aliases:
    16            - name: changeManagement/credentialsId
    17      params:
    18        - name: description
    19          type: string
    20          description: "The description of the application. The description is only taken into account for a new upload. In case of an update the description will not be updated."
    21          aliases:
    22            - name: applicationDescription
    23          default: "Deployed with Piper based on SAP Fiori tools"
    24          scope:
    25            - PARAMETERS
    26            - STAGES
    27            - STEPS
    28            - GENERAL
    29        - name: endpoint
    30          type: string
    31          description: "The ODATA service endpoint: https://<host>:<port>"
    32          aliases:
    33            - name: changeManagement/endpoint
    34            - name: changeManagement/cts/endpoint
    35          scope:
    36            - PARAMETERS
    37            - STAGES
    38            - STEPS
    39            - GENERAL
    40        - name: client
    41          type: string
    42          aliases:
    43            - name: changeManagement/client
    44            - name: changeManagement/cts/client
    45          description: "The ABAP client"
    46          scope:
    47            - PARAMETERS
    48            - STAGES
    49            - STEPS
    50            - GENERAL
    51        - name: username
    52          type: string
    53          mandatory: true
    54          description: "Service user for uploading to the SAPUI5 ABAP repository"
    55          secret: true
    56          scope:
    57            - PARAMETERS
    58            - STAGES
    59            - STEPS
    60            - GENERAL
    61        - name: password
    62          type: string
    63          mandatory: true
    64          description: "Service user password for uploading to the SAPUI5 ABAP repository"
    65          secret: true
    66          scope:
    67            - PARAMETERS
    68        - name: applicationName
    69          type: string
    70          mandatory: true
    71          description: "Name of the UI5 application"
    72          scope:
    73            - PARAMETERS
    74            - STAGES
    75            - STEPS
    76            - GENERAL
    77        - name: abapPackage
    78          type: string
    79          mandatory: true
    80          description: "ABAP package name of the UI5 application"
    81          scope:
    82            - PARAMETERS
    83            - STAGES
    84            - STEPS
    85            - GENERAL
    86        - name: osDeployUser
    87          type: string
    88          default: 'node'
    89          description: "Docker image user performing the deployment"
    90          aliases:
    91            - name: changeManagement/osDeployUser
    92            - name: changeManagement/cts/osDeployUser
    93          scope:
    94            - PARAMETERS
    95            - STAGES
    96            - STEPS
    97            - GENERAL
    98        - name: deployConfigFile
    99          default: 'ui5-deploy.yaml'
   100          type: string
   101          aliases:
   102            - name: changeManagement/deployConfigFile
   103            - name: changeManagement/cts/deployConfigFile
   104          description: "Configuration file for the fiori deployment"
   105          scope:
   106            - PARAMETERS
   107            - STAGES
   108            - STEPS
   109            - GENERAL
   110        - name: transportRequestId
   111          resourceRef:
   112            - name: commonPipelineEnvironment
   113              param: custom/transportRequestId
   114          type: string
   115          mandatory: true
   116          description: "ID of the transport request to which the UI5 application is uploaded"
   117          scope:
   118            - PARAMETERS
   119            - STAGES
   120            - STEPS
   121            - GENERAL
   122        - name: deployToolDependencies
   123          type: "[]string"
   124          default: ['@ui5/cli', '@sap/ux-ui5-tooling', '@ui5/logger', '@ui5/fs']
   125          description: "List of additional dependencies to fiori related packages.
   126             By default a standard node docker image is used on which the dependencies are installed.
   127             Provide an empty list, in case your docker image already contains the required dependencies"
   128          aliases:
   129            - name: changeManagement/deployToolDependencies
   130            - name: changeManagement/cts/deployToolDependencies
   131          scope:
   132            - PARAMETERS
   133            - STAGES
   134            - STEPS
   135            - GENERAL
   136        - name: npmInstallOpts
   137          type: "[]string"
   138          description: "List of additional installation options for the npm install call. `-g`, `--global` is always assumed. Can be used for e.g. providing custom registries (`--registry https://your.registry.com`) or for providing the verbose flag (`--verbose`) for troubleshooting"
   139          aliases:
   140            - name: changeManagement/npmInstallOpts
   141            - name: changeManagement/cts/npmInstallOpts
   142          scope:
   143            - PARAMETERS
   144            - STAGES
   145            - STEPS
   146            - GENERAL
   147    outputs:
   148      resources:
   149        - name: commonPipelineEnvironment
   150          type: piperEnvironment
   151          params:
   152            - name: custom/transportRequestId
   153    containers:
   154      - name: fiori-client
   155        image: node