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

Plugin does not adhere to documented global variables

      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)

          [JENKINS-40486] Plugin does not adhere to documented global variables

          Justen Britain created issue -
          Justen Britain made changes -
          Description Original: 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)
          New: 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)

          Justen Britain added a comment - Related issue: https://issues.jenkins-ci.org/browse/JENKINS-38419
          schup made changes -
          Link New: This issue is related to JENKINS-38419 [ JENKINS-38419 ]
          schup made changes -
          Link New: This issue is related to JENKINS-36421 [ JENKINS-36421 ]

          Idan Adar added a comment - - edited

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

          Idan Adar added a comment - - edited Wow this is a crazy bug... how can one workaround this in the meanwhile?
          James Dumay made changes -
          Labels Original: bitbucket global notification pipeline New: bitbucket global notification pipeline technical-debt

          dale tan added a comment - - edited

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

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

          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?

          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?
          Andrew Bayer made changes -
          Component/s New: branch-api-plugin [ 18621 ]
          Component/s Original: bitbucket-branch-source-plugin [ 21428 ]

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

              Created:
              Updated: