简体   繁体   中英

Jenkins post-build action save error

In my Jenkins project configuration I'm trying to add a post-build action to send emails to a specific email after every build.

I add the E-mail Notification post-build action and after entering the recipients I click save. After clicking save Jenkins gives an error saying A problem occurred while processing the request. Below that is a massive stack trace.

I just checked and whenever I make changes to my other post-build actions and click save I have the same issue. Now when I make changes to like the description for example it gives the same error but seems to save my changes.

I have installed the following plugins. Not sure of one of these is causing the issue.

  • GitHub Plugin
  • Clover Plugin
  • Checkstyle Plug-in
  • TAP Plugin
  • Embeddable Build Status Plugin
  • NodeJS Plugin
  • GitHub Pull Request Builder Plugin

Any ideas on how I can fix this error? Basically my end goal is to enable an e-mail notification post-build action but it seems to be more widespread in terms of saving project configuration. Let me know if there is any other information or details I can provide.

Since my reputation is too low to write a comment with some follow-up questions, based on the amount of information you provided, your problems might be connected to the following:

  • reloading configuration from disk - this is not the best thing to do. If you made direct changes to Jenkins files, it's best to restart Jenkins, otherwise problems like this might randomly occur (another thing that sometimes happens is executors suddenly dying )

  • wrong file permissions - I would check, just in case, if the Jenkins user has write permissions to all files.

  • (unlikely) installing a plugin in a non-standard way (for example without restarting Jenkins?)

I hope this was useful.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM