1
0
mirror of https://github.com/firstBitMarksistskaya/jenkins-lib.git synced 2024-12-04 10:34:42 +02:00
jenkins-lib/vars/transform.groovy

10 lines
338 B
Groovy

import ru.pulsar.jenkins.library.configuration.JobConfiguration
import ru.pulsar.jenkins.library.ioc.ContextRegistry
import ru.pulsar.jenkins.library.steps.ResultsTransformer
def call(JobConfiguration config) {
ContextRegistry.registerDefaultContext(this)
def transformer = new ResultsTransformer(config)
transformer.run()
}