To view the problems, try the following in the Script Console:
===
def d = [:]
d.putAll(Jenkins.instance.getAdministrativeMonitor("OldData").data)
d.each { obj, v ->
println obj.class.getName()
println obj.fullName?:obj.fullDisplayName?:obj.displayName?:obj.name
println v
println v.extra
println '------------'
}
return
===
Sample output:
===
hudson.model.User
Daniel Beck
CannotResolveClassException: hudson.plugins.favorite.user.FavoriteUserProperty,
CannotResolveClassException: hudson.plugins.favorite.filter.FavoriteFilter
------------
===
Most of the entries will have an empty line (from 'println v'), this is where a
version incompatibility would show up. Never had that, no idea how it works. If
you just disabled a bunch of plugins (like Favorite plugin in the example), you
won't have that.
To scrub, try to access
http://yourjenkins/administrativeMonitor/OldData/discard manually by editing
the URL. This is what 'Discard Unreadable Data' does, it doesn't even
@RequirePOST.
On 19.03.2014, at 17:34, Artur Szostak <[email protected]> wrote:
> Hi,
>
> Does anyone know how to view and scrub the old configuration data from
> Jenkins by hand? Basically how to reproduce what the "Manage Old Data" link
> would normally do. I could not find any info about this.
>
> The reason I need to do this by hand is because when I try click the link the
> page fails to load and I get a java.util.ConcurrentModificationException
> exception in the logs.
>
> Kind regards.
>
> Artur
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.