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

13 lines
343 B
Groovy
Raw Normal View History

import groovy.transform.Field
@Field STEP_NAME = getClass().getName()
2018-08-30 16:33:07 +02:00
void call(Map parameters = [:], body) {
2018-05-30 12:00:13 +02:00
handlePipelineStepErrors (stepName: 'pipelineStashFiles', stepParameters: parameters) {
2018-05-30 12:00:13 +02:00
pipelineStashFilesBeforeBuild(parameters)
body() //execute build
pipelineStashFilesAfterBuild(parameters)
}
}