2020-05-27 18:20:10 +02:00
|
|
|
import com.sap.piper.BuildTool
|
2018-08-15 11:53:28 +02:00
|
|
|
import groovy.transform.Field
|
2020-05-19 08:51:18 +02:00
|
|
|
import static com.sap.piper.Prerequisites.checkScript
|
|
|
|
import com.sap.piper.DownloadCacheUtils
|
2017-11-24 16:59:34 +02:00
|
|
|
|
2020-05-19 08:51:18 +02:00
|
|
|
@Field String STEP_NAME = getClass().getName()
|
|
|
|
@Field String METADATA_FILE = 'metadata/mtaBuild.yaml'
|
2018-02-08 14:18:04 +02:00
|
|
|
|
2018-09-12 10:32:30 +02:00
|
|
|
void call(Map parameters = [:]) {
|
2020-05-19 08:51:18 +02:00
|
|
|
final script = checkScript(this, parameters) ?: this
|
2020-05-27 18:20:10 +02:00
|
|
|
parameters = DownloadCacheUtils.injectDownloadCacheInParameters(script, parameters, BuildTool.MTA)
|
2019-11-21 15:56:40 +02:00
|
|
|
|
2020-05-19 08:51:18 +02:00
|
|
|
piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, [])
|
2019-11-21 15:56:40 +02:00
|
|
|
}
|