Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-65120

Gerrit review authentication error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • Jenkins 2.249.2
      gerrit-cdoe-review- plugin 0.4.4

       Hi
      I am using the Gerrit trigger plugin with Jenkins which is triggering Gerrit events. I am also using the Gerrit Code Review plugin and 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 using 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.
       
      My gerrit SCM URL is also been prefixed by ‘/a/‘ and I am also using Git/HTTPS. I am attaching the screenshots of the settings.
       
       

        1. gerrit_pipeline_script.jpg
          gerrit_pipeline_script.jpg
          85 kB
        2. git options.jpg
          git options.jpg
          37 kB
        3. pipeline settings.jpg
          pipeline settings.jpg
          83 kB
        4. plugins.jpg
          plugins.jpg
          74 kB

            lucamilanesio Luca Domenico Milanesio
            alisavemate Ali
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: