1
0
mirror of https://github.com/firstBitMarksistskaya/jenkins-lib.git synced 2024-12-04 10:34:42 +02:00
jenkins-lib/vars/sonarScanner.groovy
2020-04-30 17:03:11 +03:00

11 lines
329 B
Groovy

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