Begin forwarded message:
From: Ali Raza <alira...@gmail.com>Subject: Gerrit review authentication error(Gerrit code review plugin)Date: 12 March 2021 at 13:04:54 GMTTo: Jenkins Users <jenkins...@googlegroups.com>Reply-To: jenkins...@googlegroups.comHiI am using the Gerrit trigger plugin with Jenkins which is working fine but along with it i am also using the Gerrit Code Review plugin. I am calling 'gerrit review' command inside my pipeline script but getting an error 'Gerrit Review requires authentication, however there are no credentials defined or are empty'I am not sure from where the Gerrit review is getting the credentials. On the other hand, the Gerrit trigger plugin is getting triggered and executing the build process but when it reaches the 'gerrit review' command it is having an authentication error.I am using the Git/https inside my scm settings.
My scm settings are followingcm credentials.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/41f480a4-3c6b-4715-974e-43c1c2925c39n%40googlegroups.com.
On 12 Mar 2021, at 14:22, Ali Raza <alira...@gmail.com> wrote:I am pulling the Jenkins script from another source which is also not using any SSH inside it. Can it be the problem?
I am currently relying on Jenkin job's console output. Can I find any detailed log somewhere for Gerrit code review plugin which might give some more details?Can you suggest any other way to debug the issue to find the exact root cause?
<gerrit_pipeline.jpg>
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/830e5879-cdc0-40a1-9542-00b12b73aef0n%40googlegroups.com.
<gerrit_pipeline.jpg>