Jenkins without work after removing plugins

I have Jenkins Server (1.510) in Win 2008 with ~ 100 jobs. After installing and then uninstalling CloudBees (Plugin_1 , Plugin_2) set of plugins + reboot I have the following problems

  • half of the jobs are now absent.
  • many plugins do not function well, for example, the green-balls plugin does not work, and there is also no entry for starting the backup plugin.
  • many Jenkins built-in buttons, such as Credentials, are missing from the Jenkins Setup menu.

Looking at FS, I still see all the tasks.

I already tried:

  • Using reboot configuration
  • Reinstalling Plugins
  • Reinstalling Jenkins with the same version again

Still missing assignments

Any idea how to solve it?

Thanks,

Doron

+6
source share
2 answers

When a job is loaded, many associated Java classes receive an instance. If the instantiation fails, usually because some plugin is removed and this class is no longer available, then the work is hidden.

I suspect that you accidentally deleted another plugin.

Note. Make a full backup before doing anything! The easiest way is to back up the entire Jenkins folder where jobs, configuration, etc. are located.

The easiest solution is to simply install Jenkins from scratch, install the plugins you need (see below for troubleshooting if you are missing some), and then copy the jobs subfolder to the new Jenkins. It’s best to do any configuration under Manage Jenkins manually, but you can also just try copying the related XML configuration files.

If you are missing a plugin and you cannot determine which one, you should look at the jenkins.out.log and jenkins.err.log log files and look for exceptions that occur after Jenkins starts. This may let you know which plugin you are missing.

You can also try editing the job XML files to remove the build steps that you defined from the exceptions (do not forget to back up first!), Then restart Jenkins or select "Update configuration from disk" on the "Manage Jenkins Pages" page.

If you do not dare, but you find relevant views or something else interesting, please update the question with detailed information.

+7
source

After I updated Jenkins, one of my works disappeared. I found out that although my job directory still exists, the config.xml file inside somehow went missing.

I restored this file from the backup, updating all the plugins that needed to be updated, and reloaded the configuration, and the job reappeared in Jenkins.

+1
source

All Articles