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

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

      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.

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

          [JENKINS-31843] Gerrit build parameters lost in downstream job if rebuild when using build is parameterized

          Owen Wood created issue -
          Owen Wood made changes -
          Attachment New: upstream.xml [ 31372 ]
          Attachment New: downstream.xml [ 31373 ]
          Attachment New: gerrit-trigger.xml [ 31374 ]
          Antonio Muñiz made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 167293 ] New: JNJira + In-Review [ 185661 ]
          James Dumay made changes -
          Remote Link New: This issue links to "CloudBees Internal OSS-2415 (Web Link)" [ 18325 ]

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

              Created:
              Updated: