Re: Gerrit review authentication error(Gerrit code review plugin)

2021-03-12 Thread Ali Raza
Sure. I am going to report an issue shortly. On Friday, 12 March 2021 at 15:37:59 UTC+1 luca.mi...@gmail.com wrote: > > On 12 Mar 2021, at 14:22, Ali Raza wrote: > > I am pulling the Jenkins script from another source which is also not > using any SSH inside it. Can it be the p

Re: Gerrit review authentication error(Gerrit code review plugin)

2021-03-12 Thread Ali Raza
ggest any other way to debug the issue to find the exact root cause? [image: gerrit_pipeline.jpg] On Friday, 12 March 2021 at 15:10:03 UTC+1 luca.mi...@gmail.com wrote: > > > Begin forwarded message: > > > *From: *Ali Raza > *Subject: **Gerrit review authentication error

Gerrit review authentication error(Gerrit code review plugin)

2021-03-12 Thread Ali Raza
Hi I 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 credential

Re: Gerrit review authentication error

2021-03-11 Thread Ali Raza
Can it be the problem with the port which the gerrit trigger plugin for ssh? On Wed, Mar 10, 2021 at 6:28 PM Ali Raza wrote: > Yes, I am using the “G errit Code Review” plugin v0.4.4. > > [image: gerrit.jpg] > > On Wed, Mar 10, 2021 at 6:22 PM Luca Milanesio > wrote: > &g

Re: Gerrit review authentication error

2021-03-10 Thread Ali Raza
Yes, I am using the “G errit Code Review” plugin v0.4.4. [image: gerrit.jpg] On Wed, Mar 10, 2021 at 6:22 PM Luca Milanesio wrote: > > > On 10 Mar 2021, at 17:19, Ali Raza wrote: > > I am not getting gerrit option in the dropdown but surprisingly it able to > clone the

Re: Gerrit review authentication error

2021-03-10 Thread Ali Raza
+1 luca.mi...@gmail.com wrote: > > On 10 Mar 2021, at 16:12, Ali Raza wrote: > > One thing I forgot to mention is that same job is working on another > server with the same setting. When we migrated it to a new server it start > having the problem. So all of the environment va

Re: Gerrit review authentication error

2021-03-10 Thread Ali Raza
UTC+1 luca.mi...@gmail.com wrote: > > On 10 Mar 2021, at 15:02, Luca Milanesio wrote: > > > > On 10 Mar 2021, at 14:58, Ali Raza wrote: > > Yes, it is triggering on gerrit code changes and cloning the repository as > well but when it is trying to execute ' gerritRev

Re: Gerrit review authentication error

2021-03-10 Thread Ali Raza
multibranch pipeline. On Wed, Mar 10, 2021 at 3:39 PM Luca Milanesio wrote: > > > On 10 Mar 2021, at 14:35, Ali Raza wrote: > > Yes, I have added SCM credentials to my pipeline settings. Inside > repository URL I also have ''/a/'' prefix. > > > Cool

Re: Gerrit review authentication error

2021-03-10 Thread Ali Raza
:15 UTC+1 luca.mi...@gmail.com wrote: > > On 10 Mar 2021, at 13:31, Ali Raza wrote: > > Hi > I 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' comm

Gerrit review authentication error

2021-03-10 Thread Ali Raza
Hi I 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 credentia