mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-01-06 04:13:55 +02:00
11a7b24ce8
Asserts that each step (modulo whitelist) comes with a STEP_NAME field.
12 lines
341 B
Groovy
12 lines
341 B
Groovy
import groovy.transform.Field
|
|
|
|
@Field STEP_NAME = 'pipelineStashFiles'
|
|
|
|
def call(Map parameters = [:], body) {
|
|
handlePipelineStepErrors (stepName: 'pipelineStashFiles', stepParameters: parameters) {
|
|
pipelineStashFilesBeforeBuild(parameters)
|
|
body() //execute build
|
|
pipelineStashFilesAfterBuild(parameters)
|
|
}
|
|
}
|