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

Gerrit build parameters lost in downstream job if rebuild when using build is parameterized

    XMLWordPrintable

Details

    Description

      Plugins:

      • gerrit-trigger-plugin
      • rebuilder plugin

      Environment:

      • CJE - 1.609.3.1 (also tested with 1.580.3 so version doesn't seem too important)
      • https://github.com/fabric8io/docker-gerrit (gerrit environment - checkout and run scripts in instructions section to setup)
      • gerrit-trigger.xml (attached) (gerrit-trigger-plugin config. keypath needs to change to where docker-gerrit is checked out)
      • upstream job (attached)
      • downstream job (attached)

      Steps to create gerrit event and trigger plugin:

      Note that "This build is parameterized" makes you re-enter the "test" String parameter.
      Also note that when rebuild happens that all the Gerrit build parameters are gone. This doesn't happen when "This buid is parameterized" is removed so suggests that this step is clobbering parameters. But not sure...

      Not sure whether the issue is with:

      • gerrit-trigger-plugin
      • rebuilder plugin
      • Jenkins core

      but seems like a bug IMO.

      Attachments

        1. downstream.xml
          2 kB
        2. gerrit-trigger.xml
          5 kB
        3. upstream.xml
          6 kB

        Issue Links

          Activity

            People

              owood Owen Wood
              owood Owen Wood
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: