1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/vars/mavenBuild.groovy
2020-03-23 09:58:54 +01:00

12 lines
414 B
Groovy

import com.sap.piper.DownloadCacheUtils
import groovy.transform.Field
@Field String METADATA_FILE = 'metadata/mavenBuild.yaml'
@Field String STEP_NAME = getClass().getName()
void call(Map parameters = [:]) {
List credentials = [ ]
parameters = DownloadCacheUtils.injectDownloadCacheInMavenParameters(parameters.script, parameters)
piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, credentials)
}