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

Add support for a GERRIT_REPLY_MESSAGE environment variable

    Details

    • Similar Issues:

      Description

      Gerrit trigger plugin already sets Environment variables for the following: GERRIT_CHANGE_OWNER_NAME, GERRIT_PROJECT, GERRIT_PATCHSET_NUMBER, etc..

      I'm suggesting to add a GERRIT_REPLY_MESSAGE variable to that list so scripts and plugins can have access to the comment a user enters when voting on a patchset.

      My use case is that I have a jenkins plugin that adds a post build/publisher step. I want to set conditions or publish things based on the reply comment that the Gerrit user enters.

        Attachments

          Activity

          Hide
          zaro0508 Khai Do added a comment -

          Sorry, I just noticed that the reply comment is already in GERRIT_EVENT_COMMENT_TEXT env variable.

          Show
          zaro0508 Khai Do added a comment - Sorry, I just noticed that the reply comment is already in GERRIT_EVENT_COMMENT_TEXT env variable.

            People

            • Assignee:
              rsandell rsandell
              Reporter:
              zaro0508 Khai Do
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: