github.com/jaylevin/jenkins-library@v1.230.4/vars/transportRequestUploadSOLMAN.groovy (about) 1 import com.sap.piper.BuildTool 2 import groovy.transform.Field 3 import static com.sap.piper.Prerequisites.checkScript 4 import com.sap.piper.DownloadCacheUtils 5 6 @Field String STEP_NAME = getClass().getName() 7 @Field String METADATA_FILE = 'metadata/transportRequestUploadSOLMAN.yaml' 8 9 void call(Map parameters = [:]) { 10 final script = checkScript(this, parameters) ?: this 11 parameters = DownloadCacheUtils.injectDownloadCacheInParameters(script, parameters, BuildTool.MTA) 12 13 List credentials = [ 14 [type: 'usernamePassword', id: 'uploadCredentialsId', env: ['PIPER_username', 'PIPER_password']] 15 ] 16 piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, credentials) 17 }