1
0
mirror of https://github.com/firstBitMarksistskaya/jenkins-lib.git synced 2024-12-11 11:19:08 +02:00
jenkins-lib/vars/initFromStorage.groovy

10 lines
340 B
Groovy

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