github.com/jaylevin/jenkins-library@v1.230.4/vars/abapEnvironmentPipelineStagePrepareSystem.groovy (about) 1 import groovy.transform.Field 2 import com.sap.piper.Utils 3 4 import static com.sap.piper.Prerequisites.checkScript 5 6 @Field String STEP_NAME = getClass().getName() 7 @Field Set GENERAL_CONFIG_KEYS = [] 8 @Field STAGE_STEP_KEYS = [ 9 /** Creates a SAP Cloud Platform ABAP Environment instance via the cloud foundry command line interface */ 10 'abapEnvironmentCreateSystem', 11 /** Creates Communication Arrangements for ABAP Environment instance via the cloud foundry command line interface */ 12 'cloudFoundryCreateServiceKey' 13 ] 14 @Field Set STEP_CONFIG_KEYS = GENERAL_CONFIG_KEYS.plus(STAGE_STEP_KEYS) 15 @Field Set PARAMETER_KEYS = STEP_CONFIG_KEYS 16 /** 17 * This stage prepares the SAP Cloud Platform ABAP Environment systems 18 */ 19 void call(Map parameters = [:]) { 20 def script = checkScript(this, parameters) ?: this 21 def stageName = parameters.stageName?:env.STAGE_NAME 22 23 piperStageWrapper (script: script, stageName: stageName, stashContent: [], stageLocking: false) { 24 abapEnvironmentCreateSystem script: parameters.script 25 } 26 27 }