jenkinsci / jenkins.rb

Deprecated, see https://www.jenkins.io/jep/7
394 stars 83 forks source link

Post Build Action Not Saving After Restart #114

Open nikkij opened 9 years ago

nikkij commented 9 years ago

Post build actions, both dependent on ruby-runtime and not, are not saving post build actions after a restart of Jenkins.

This issue occurs on the unreleased master branch. Believe it may be due to the upgrade in JRuby version. It has been observed on the following operating systems: Ubuntu, CentOS, Mac OS X, and Windows Server 2012. Steps to reproduce:

  1. Build the plugin from the master branch
  2. Install plugin to Jenkins
  3. Select the Email post build action in a dummy job
  4. Save the job
  5. Go back in and you will see the post build action parameters are still there
  6. Restart Jenkins
  7. Go into the job and you will see the post build action is no longer there
jbennett2091 commented 8 years ago

I'd love to see this one fixed. I am using a ruby-based plugin that stopped working a year ago. Guessing any post-build-action, ruby-based plugin is affected. Seems like that would be a sizeable number of affected plugins

vsoteriou commented 7 years ago

The same behavior was experienced today when Jenkins was updated to 2.32.1by our SysAdmin. All jobs have their post build actions deleted together with removing the "Delete workspace before build starts" check box. Therefore, the problem does not only exist in the case of updating plugins.

Is there any update on this issue?

LassiAutio commented 7 years ago

I had this same issue with template-project-plugin. After Jenkins restart plugin was uninstalled. Steps where still in config file.

Is there any update on this issue or workaround?