2020-05-13 14:51:48 +02:00
metadata :
name : abapEnvironmentRunATCCheck
description : Runs an ATC Check
longDescription : |
2020-10-15 14:57:33 +02:00
This step is for triggering an [ATC](https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/d8cec788fc104ff9ad9c3757b4dd13d4.html) test run on an SAP Cloud Platform ABAP Environment system.
2020-05-18 12:49:52 +02:00
Please provide either of the following options :
2020-10-15 14:57:33 +02:00
* The host and credentials the Cloud Platform 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).
2020-05-18 12:49:52 +02:00
* 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.
* Only provide one of those options with the respective credentials. If all values are provided, the direct communication (via host) has priority.
Regardless of the option you chose, please make sure to provide the configuration for Software Components and Packages that you want to be checked analog to the examples listed on this page.
2020-05-13 14:51:48 +02:00
spec :
inputs :
secrets :
- name : abapCredentialsId
aliases :
- name : cfCredentialsId
description : Jenkins credentials ID containing user and password to authenticate to the Cloud Platform ABAP Environment system or the Cloud Foundry API
type : jenkins
params :
- name : atcConfig
type : string
description : Path to a YAML configuration file for Packages and/or Software Components to be checked during ATC run
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
2022-01-12 12:02:27 +01:00
mandatory : false
- name : repositories
type : string
description : Specifies a YAML file containing the repositories configuration
scope :
- GENERAL
- PARAMETERS
- STAGES
- STEPS
2020-05-13 14:51:48 +02:00
- name : cfApiEndpoint
type : string
description : Cloud Foundry API endpoint
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
- GENERAL
2020-05-13 14:51:48 +02:00
mandatory : false
aliases :
- name : cloudFoundry/apiEndpoint
- name : cfOrg
type : string
description : CF org
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
- GENERAL
2020-05-13 14:51:48 +02:00
mandatory : false
aliases :
- name : cloudFoundry/org
- name : cfServiceInstance
type : string
description : Parameter of ServiceInstance Name to delete CloudFoundry Service
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
- GENERAL
2020-05-13 14:51:48 +02:00
mandatory : false
aliases :
- name : cloudFoundry/serviceInstance
- name : cfServiceKeyName
type : string
description : Parameter of CloudFoundry Service Key to be created
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
- GENERAL
2020-05-13 14:51:48 +02:00
mandatory : false
aliases :
2020-06-30 15:46:07 +02:00
- name : cloudFoundry/serviceKey
2020-05-13 14:51:48 +02:00
- name : cloudFoundry/serviceKeyName
2020-06-30 15:46:07 +02:00
- name : cfServiceKey
2020-05-13 14:51:48 +02:00
- name : cfSpace
type : string
description : CF Space
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
- GENERAL
2020-05-13 14:51:48 +02:00
mandatory : false
aliases :
- name : cloudFoundry/space
- name : username
type : string
2020-10-15 14:57:33 +02:00
description : User for either the Cloud Foundry API or the Communication Arrangement for SAP_COM_0510
2020-05-13 14:51:48 +02:00
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
2020-05-13 14:51:48 +02:00
mandatory : true
2020-08-28 15:38:15 +02:00
secret : true
resourceRef :
- name : abapCredentialsId
type : secret
param : username
2020-05-13 14:51:48 +02:00
- name : password
type : string
2020-10-15 14:57:33 +02:00
description : Password for either the Cloud Foundry API or the Communication Arrangement for SAP_COM_0510
2020-05-13 14:51:48 +02:00
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
2020-05-13 14:51:48 +02:00
mandatory : true
2020-08-28 15:38:15 +02:00
secret : true
resourceRef :
- name : abapCredentialsId
type : secret
param : password
2020-05-13 14:51:48 +02:00
- name : host
type : string
description : Specifies the host address of the SAP Cloud Platform ABAP Environment system
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
- GENERAL
2020-05-13 14:51:48 +02:00
mandatory : false
2020-08-26 14:09:00 +02:00
- name : atcResultsFileName
type : string
2021-04-29 15:47:11 +02:00
description : Specifies output file name for the results from the ATC run. This file name will also be used for generating the HTML file
2020-08-26 14:09:00 +02:00
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
2020-08-26 14:09:00 +02:00
mandatory : false
2020-08-31 16:10:28 +02:00
default : "ATCResults.xml"
2021-04-21 20:13:02 +02:00
- name : generateHTML
type : bool
description : Specifies whether the ATC results should also be generated as an HTML document
scope :
- PARAMETERS
- STAGES
- STEPS
2021-12-13 16:39:32 +01:00
- GENERAL
2021-04-21 20:13:02 +02:00
mandatory : false
2020-05-13 14:51:48 +02:00
containers :
- name : cf
2021-02-16 18:03:29 +01:00
image : ppiper/cf-cli:7