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

Injection of BITBUCKET_PAYLOAD should be optional

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      In version 1.1.5 of bitbucket plugin a following change was added:

      • fix JENKINS-32372 Inject the Payload into the build through $BITBUCKET_PAYLOAD

      The issue with this change is when payload is too big - builds using nunit test runner fail with a following message:

      System.InvalidOperationException: The environment block used to start a process cannot be longer than 65535 bytes.  Your environment block is 68162 bytes long.  Remove some environment variables and try again. 

      After we looked into what environment block contains we found out that BITBUCKET_PAYLOAD is the reason for this failure. This can be easily workaround by restarting build manually or with one more simple change but in some complicated scenarios this is not an option

        Attachments

          Activity

          olegf Oleg Feferman created issue -
          tzach_solomon Tzach Solomon made changes -
          Field Original Value New Value
          Assignee Tzach Solomon [ tzach_solomon ]
          Resolution Cannot Reproduce [ 5 ]
          Status Open [ 1 ] Fixed but Unreleased [ 10203 ]
          tzach_solomon Tzach Solomon made changes -
          Status Fixed but Unreleased [ 10203 ] Closed [ 6 ]

            People

            Assignee:
            tzach_solomon Tzach Solomon
            Reporter:
            olegf Oleg Feferman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: