2021-01-13 17:14:56 +02:00
metadata :
name : transportRequestUploadCTS
2021-02-04 11:09:20 +02:00
aliases :
- name : transportRequestUploadFile
2021-09-08 12:38:33 +02:00
description : This step uploads an UI5 application to the SAPUI5 ABAP repository.
2021-01-13 17:14:56 +02:00
longDescription : |
2021-09-08 12:38:33 +02:00
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.
It processes the results of the `ui5 build` command of the SAPUI5 toolset.
2021-01-13 17:14:56 +02:00
spec :
inputs :
secrets :
- name : uploadCredentialsId
2021-07-08 10:09:18 +02:00
description : Jenkins 'Username with password' credentials ID containing user and password to authenticate against the ABAP system.
2021-01-13 17:14:56 +02:00
type : jenkins
aliases :
- name : changeManagement/credentialsId
params :
- name : description
type : string
2021-09-08 12:38:33 +02:00
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."
2021-01-13 17:14:56 +02:00
default : "Deployed with Piper based on SAP Fiori tools"
scope :
- PARAMETERS
- STAGES
- STEPS
- GENERAL
- name : endpoint
type : string
2021-09-08 12:38:33 +02:00
description : "The ODATA service endpoint: https://<host>:<port>"
2021-01-13 17:14:56 +02:00
aliases :
- name : changeManagement/endpoint
2021-07-08 10:09:18 +02:00
- name : changeManagement/cts/endpoint
2021-01-13 17:14:56 +02:00
scope :
- PARAMETERS
- STAGES
- STEPS
- GENERAL
- name : client
type : string
aliases :
- name : changeManagement/client
2021-07-08 10:09:18 +02:00
- name : changeManagement/cts/client
2021-01-13 17:14:56 +02:00
description : "The ABAP client"
scope :
- PARAMETERS
- STAGES
- STEPS
- GENERAL
- name : username
type : string
mandatory : true
2021-09-08 12:38:33 +02:00
description : "Service user for uploading to the SAPUI5 ABAP repository"
2021-01-13 17:14:56 +02:00
secret : true
scope :
- PARAMETERS
- STAGES
- STEPS
- GENERAL
- name : password
type : string
mandatory : true
2021-09-08 12:38:33 +02:00
description : "Service user password for uploading to the SAPUI5 ABAP repository"
2021-01-13 17:14:56 +02:00
secret : true
scope :
- PARAMETERS
- name : applicationName
type : string
mandatory : true
2021-07-08 10:09:18 +02:00
description : "Name of the UI5 application"
2021-01-13 17:14:56 +02:00
scope :
- PARAMETERS
- STAGES
- STEPS
- GENERAL
- name : abapPackage
type : string
mandatory : true
2021-07-08 10:09:18 +02:00
description : "ABAP package name of the UI5 application"
2021-01-13 17:14:56 +02:00
scope :
- PARAMETERS
- STAGES
- STEPS
- GENERAL
- name : osDeployUser
type : string
2021-07-08 10:09:18 +02:00
default : 'node'
description : "Docker image user performing the deployment"
2021-01-13 17:14:56 +02:00
aliases :
2021-07-08 10:09:18 +02:00
- name : changeManagement/osDeployUser
2021-01-13 17:14:56 +02:00
- name : changeManagement/cts/osDeployUser
scope :
- PARAMETERS
- STAGES
- STEPS
- GENERAL
- name : deployConfigFile
2021-07-08 10:09:18 +02:00
default : 'ui5-deploy.yaml'
2021-01-13 17:14:56 +02:00
type : string
aliases :
2021-07-08 10:09:18 +02:00
- name : changeManagement/deployConfigFile
2021-01-13 17:14:56 +02:00
- name : changeManagement/cts/deployConfigFile
2021-07-08 10:09:18 +02:00
description : "Configuration file for the fiori deployment"
2021-01-13 17:14:56 +02:00
scope :
- PARAMETERS
- STAGES
- STEPS
- GENERAL
- name : transportRequestId
2021-07-08 10:09:18 +02:00
resourceRef :
- name : commonPipelineEnvironment
param : custom/transportRequestId
2021-01-13 17:14:56 +02:00
type : string
mandatory : true
2021-07-08 10:09:18 +02:00
description : "ID of the transport request to which the UI5 application is uploaded"
2021-01-13 17:14:56 +02:00
scope :
- PARAMETERS
- name : deployToolDependencies
type : "[]string"
2021-07-08 10:09:18 +02:00
default : [ '@ui5/cli' , '@sap/ux-ui5-tooling' , '@ui5/logger' , '@ui5/fs' ]
description : "List of additional dependencies to fiori related packages.
By default a standard node docker image is used on which the dependencies are installed.
Provide an empty list, in case your docker image already contains the required dependencies"
2021-01-13 17:14:56 +02:00
aliases :
2021-07-08 10:09:18 +02:00
- name : changeManagement/deployToolDependencies
2021-01-13 17:14:56 +02:00
- name : changeManagement/cts/deployToolDependencies
scope :
- PARAMETERS
- STAGES
- STEPS
- GENERAL
- name : npmInstallOpts
type : "[]string"
2021-07-08 10:09:18 +02:00
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"
2021-01-13 17:14:56 +02:00
aliases :
2021-07-08 10:09:18 +02:00
- name : changeManagement/npmInstallOpts
- name : changeManagement/cts/npmInstallOpts
2021-01-13 17:14:56 +02:00
scope :
- PARAMETERS
- STAGES
- STEPS
- GENERAL
2021-07-08 10:09:18 +02:00
outputs :
resources :
- name : commonPipelineEnvironment
type : piperEnvironment
params :
- name : custom/transportRequestId
containers :
- name : fiori-client
image : node