String name = project.getName();
String group = project.getGroup().toString();
return group.isEmpty() ? name : (group + ":" + name);
String name = project.getPath();
String group = project.getGroup().toString();
return group.isEmpty() ? name : (group + ":" + name);
def projectList = [
':integration:lib:messageformatter:plugins',
':integration:lib:action:plugins',
':integration:lib:pal:plugins',
':business:devices:plugins',
':integration:lib:elasticsearch',
':integration:lib:pal:customactions',
':integration:lib:tasks'
]
projectList.each {projectPath ->
def projectToModify = project.findProject(projectPath)
project(projectPath) {
def newModuleKey = "com.dell.enterprise.common${projectToModify.path}"
logger.quiet("Applying module key ${newModuleKey} to project ${projectPath}")
sonarqube {
properties {
property 'sonar.moduleKey', newModuleKey
}
}
}
}
Dell - Internal Use - Confidential
I have added comments to the ticket, as well as attaching a zip file with a simple project that exhibits the behavior.
Regards,
Mark E. Scott, Jr.
Software Engineer
Dell | Global Large Enterprise Product Group
--
You received this message because you are subscribed to a topic in the Google Groups "SonarQube" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/sonarqube/uHEtD3UfS2w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
sonarqube+...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sonarqube/4a1adb38-2023-4e22-8f28-d5fd8491c00a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and all its topics, send an email to sonarqube+unsubscribe@googlegroups.com.