1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-20 05:19:40 +02:00
sap-jenkins-library/vars/pipelineStashFiles.groovy
2018-10-11 09:10:26 +02:00

12 lines
342 B
Groovy

import groovy.transform.Field
@Field STEP_NAME = 'pipelineStashFiles'
void call(Map parameters = [:], body) {
handlePipelineStepErrors (stepName: 'pipelineStashFiles', stepParameters: parameters) {
pipelineStashFilesBeforeBuild(parameters)
body() //execute build
pipelineStashFilesAfterBuild(parameters)
}
}