1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00

Add debug flag to stage config (#3771)

This commit is contained in:
Daniel Mieg 2022-05-09 14:12:53 +02:00 committed by GitHub
parent 3c288e81ad
commit 3fea61e8b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 10 deletions

View File

@ -5,17 +5,16 @@ import com.sap.piper.ConfigurationHelper
import static com.sap.piper.Prerequisites.checkScript
@Field String STEP_NAME = getClass().getName()
@Field Set GENERAL_CONFIG_KEYS = [
/** If set to true, the system is never deleted */
'debug'
]
@Field Set GENERAL_CONFIG_KEYS = []
@Field STAGE_STEP_KEYS = [
/** Creates a SAP Cloud Platform ABAP Environment system via the cloud foundry command line interface */
'abapEnvironmentCreateSystem',
/** Deletes a SAP Cloud Platform ABAP Environment system via the cloud foundry command line interface */
'cloudFoundryDeleteService',
/** If set to true, a confirmation is required to delete the system */
'confirmDeletion'
'confirmDeletion',
/** If set to true, the system is never deleted */
'debug'
]
@Field Set STEP_CONFIG_KEYS = GENERAL_CONFIG_KEYS.plus(STAGE_STEP_KEYS)
@Field Set PARAMETER_KEYS = STEP_CONFIG_KEYS

View File

@ -4,15 +4,14 @@ import com.sap.piper.ConfigurationHelper
import static com.sap.piper.Prerequisites.checkScript
@Field String STEP_NAME = getClass().getName()
@Field Set GENERAL_CONFIG_KEYS = [
/** If set to true, the system is never deleted */
'debug'
]
@Field Set GENERAL_CONFIG_KEYS = []
@Field STAGE_STEP_KEYS = [
/** Deletes a SAP Cloud Platform ABAP Environment instance via the cloud foundry command line interface */
'cloudFoundryDeleteService',
/** If set to true, a confirmation is required to delete the system in case the pipeline was not successful */
'confirmDeletion'
'confirmDeletion',
/** If set to true, the system is never deleted */
'debug'
]
@Field Set STEP_CONFIG_KEYS = GENERAL_CONFIG_KEYS.plus(STAGE_STEP_KEYS)
@Field Set PARAMETER_KEYS = STEP_CONFIG_KEYS