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

10 lines
370 B
Groovy

import ru.pulsar.jenkins.library.configuration.JobConfiguration
import ru.pulsar.jenkins.library.ioc.ContextRegistry
import ru.pulsar.jenkins.library.steps.LoadExtensions
def call(JobConfiguration config, String stageName = "") {
ContextRegistry.registerDefaultContext(this)
def loadExtensions = new LoadExtensions(config, stageName)
loadExtensions.run()
}