1 import groovy
.json
.JsonSlurper
3 def projectCatalog
= new File("/var/git/stable/jenkins-jobs-setup/projects.json")
4 def slurper
= new JsonSlurper()
5 def jsonText
= projectCatalog
.getText()
6 def json
= slurper
.parseText(jsonText
)
11 job("${project.name}/${project.name}_deploy_to_local-nexus") {
17 git(project
.repository
)
26 mavenInstallation("maven-latest")
27 providedGlobalSettings("talk-to-local-nexus")
33 properties("sonar.host.url": "http://sonar:9000")
34 properties("sonar.pitest.mode": "reuseReport")
35 mavenInstallation("maven-latest")
36 providedGlobalSettings("talk-to-local-nexus")
42 notificationMessage("SummaryOnly")
48 listView("Deployments") {
49 description("All jobs that deploy artifacts")
52 name("${it.name}/${it.name}_deploy_to_local-nexus")