mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
b7468a7ae4
Having the step name always the same like the file name, which is in turn the class name is redundant.
13 lines
343 B
Groovy
13 lines
343 B
Groovy
import groovy.transform.Field
|
|
|
|
@Field STEP_NAME = getClass().getName()
|
|
|
|
void call(Map parameters = [:], body) {
|
|
handlePipelineStepErrors (stepName: 'pipelineStashFiles', stepParameters: parameters) {
|
|
|
|
pipelineStashFilesBeforeBuild(parameters)
|
|
body() //execute build
|
|
pipelineStashFilesAfterBuild(parameters)
|
|
}
|
|
}
|