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

Environment variables not being set when Gerrit 2.14

    Details

    • Similar Issues:

      Description

      For some reason the environment variables are not created for open changes in multibranch pipeline. I tried with GerritHub (latest version of Gerrit) and it seems to be working fine, however, with my local Gerrit implementation (v2.14) this issue happens. Only these environment variables are being set (I'm testing with sh 'printenv'): 

      • GERRIT_API_URL
      • GERRIT_PROJECT
      • GERRIT_CREDENTIALS_ID

        Attachments

          Activity

          Hide
          felipecassiors Felipe Santos added a comment -

          I think this Issue can be closed now, don't you think?

          Show
          felipecassiors Felipe Santos added a comment - I think this Issue can be closed now, don't you think?
          Hide
          felipecassiors Felipe Santos added a comment -

          I loaded the generated plugin into my Jenkins and I can confirm now all the environment variables is being set.

          Show
          felipecassiors Felipe Santos added a comment - I loaded the generated plugin into my Jenkins and I can confirm now all the environment variables is being set.
          Hide
          lucamilanesio Luca Domenico Milanesio added a comment -
          Show
          lucamilanesio Luca Domenico Milanesio added a comment - It looks like the downgrade would work for now: https://review.gerrithub.io/c/jenkinsci/gerrit-code-review-plugin/+/478951
          Hide
          lucamilanesio Luca Domenico Milanesio added a comment -

          I am trying to downgrade for the time being the Gerrit REST API java layer, so that compatibility with Gerrit v2.14 is resumed.

          Show
          lucamilanesio Luca Domenico Milanesio added a comment - I am trying to downgrade for the time being the Gerrit REST API java layer, so that compatibility with Gerrit v2.14 is resumed.
          Hide
          felipecassiors Felipe Santos added a comment -

          Awesome! I just saw the Issue there. You're very welcome and thank you so much.

          Show
          felipecassiors Felipe Santos added a comment - Awesome! I just saw the Issue there. You're very welcome and thank you so much.

            People

            • Assignee:
              lucamilanesio Luca Domenico Milanesio
              Reporter:
              felipecassiors Felipe Santos
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: