mirror of
https://github.com/firstBitMarksistskaya/jenkins-lib.git
synced 2025-01-08 13:34:35 +02:00
11 lines
385 B
Groovy
11 lines
385 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, String rootFile = 'src/cf/Configuration.xml') {
|
|
ContextRegistry.registerDefaultContext(this)
|
|
|
|
def sonarScanner = new SonarScanner(config, rootFile)
|
|
sonarScanner.run()
|
|
}
|