1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-08 04:21:26 +02:00
sap-jenkins-library/vars/pipelineStashFiles.groovy

12 lines
341 B
Groovy
Raw Normal View History

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