Hi,
the 'Module Builds' view of one of our Maven jobs show modules which have
been deleted a while ago.
The module names have a grey ball prepended and '(didn’t run)' append.
I clicked on 'Delete All Disabled Modules' in the left menu which removed
some modules from the view but not all.
The following code executed in the script console prints all modules
grouped by active/disabled
import hudson.model.*
import hudson.maven.*
def jobName = "foobar"
def job = Hudson.instance.getItem(jobName)
println("active modules")
job.getDisabledModules(false).each{module ->
println(module.name)
}
println("disabled modules")
job.getDisabledModules(true).each{module ->
println(module.name)
}
This list doesn't contain any of the deleted modules.
Where does the 'Module Builds' view get its list of modules?
Thanks
Clifford
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/e5ab47bf-faff-450c-a47b-dea00c8be221%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.