0

I use Jenkins with Gerrit-Sonar plugin and face a very weird issue:

  1. I configure the plugin to handle Gerrit REST API with my username\password
  2. When I run the job the first time, it passes, but after it Jenkins goes to auto-restart, saying "Please wait, Jenkins is getting ready to work."
  3. After this my credentials in plugin are reset to default ("jenkins"\"gibberish").
  4. Build fails due to 401 to Gerrit

When I re-save the credentials, they are stored only till the next weird auto-restart.

Has anyone seen this issue before or what could be the cause of it?

Thanks!

user
  • 3,058
  • 23
  • 45

1 Answers1

1

It is not an answer for your question, but it may be a workaround: in the 1.0.8 version of Sonar-Gerrit plugin it has become possible to override Gerrit credentials on the plugin level.

Tatiana Goretskaya
  • 536
  • 10
  • 25