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

10 lines
348 B
Groovy
Raw Permalink Normal View History

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