Jelly script in new versions of Jenkins

I’m currently using the Jenkins 2.222.3 version. I installed Dashboard view plugin to create views fro my Jenkins Jobs. But I was getting some issue while creating a new view. Below is the error :

Help me on resolving this issue

Hello @ruthvik and welcome to this community :wave:

What version of the Dashboard view plugin are you using?

Jenkins 2.222.3 was released over 3 years ago. It has multiple known security vulnerabilities. The Jenkins security team does not provide security updates for that old version. You should upgrade as soon as you can.

The Jenkins update center only provides information for Jenkins weekly and LTS releases for about a year. The update center page says:

At the moment, Jenkins weekly and LTS releases up to a year old are supported; anything older will receive update metadata for the oldest supported releases.

That means your Jenkins 2.222.3 received a list of plugins that are compatible with a Jenkins version that is approximately 2 years newer than 2.222.3. Those plugins may be incompatible with Jenkins 2.222.3.

Updating plugins on a Jenkins controller that is over 1 year out of date is risky because you may install a plugin that does not work with your controller. I think that you’ll have better results if you remove the plugin you just installed and plan an upgrade to a recent Jenkins version.

Thank you for the response guys.
@MarkEWaite Thanks for the info, will check on upgrading my Jenkins
@poddingue I was using the 2.12 version. I got the issue, Dashboard plugin was dependent on one more plugin called, the pipeline aggregator view plugin. That plugin was corrupted and it is causing the failure of the dashboard view plugin. Disabled the pipeline aggregator view and issue git resolved.