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

Plugin does not adhere to documented global variables

    XMLWordPrintable

Details

    Description

      The Jenkins local documentation for Pipelines declares that the following global variables will be populated:

      CHANGE_ID
      CHANGE_URL
      CHANGE_TITLE
      CHANGE_AUTHOR
      CHANGE_AUTHOR_DISPLAY_NAME
      CHANGE_AUTHOR_EMAIL
      CHANGE_TARGET

      The lack of data in these variables results in the following severely reduced functionality.

      • Unable to effectively notify users of pull request related build status via StashNotifier, HipChatNotifier, email and other notification plugins
      • Unable to effectively notify committers of build failures
      • Unable to detect pull requests without string parsing (which is hacky imo)

      Attachments

        Issue Links

          Activity

            bobthemagicman Justen Britain added a comment - Related issue: https://issues.jenkins-ci.org/browse/JENKINS-38419
            idanadar Idan Adar added a comment - - edited

            Wow this is a crazy bug... how can one workaround this in the meanwhile?

            idanadar Idan Adar added a comment - - edited Wow this is a crazy bug... how can one workaround this in the meanwhile?
            hellatan dale tan added a comment - - edited

            is there any progress on this issue? This seems like a pretty major bug

            hellatan dale tan added a comment - - edited is there any progress on this issue? This seems like a pretty major bug
            barathwajas Barathwaja S added a comment -

            Is there any progress on this? Need some of the above env. variables to be used in a project. Any ETA on this?

            barathwajas Barathwaja S added a comment - Is there any progress on this? Need some of the above env. variables to be used in a project. Any ETA on this?

            People

              amuniz Antonio Muñiz
              bobthemagicman Justen Britain
              Votes:
              10 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated: