• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • core
    • Jenkins 1.652
      Ubuntu 15.10

      java version "1.7.0_95"
      OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-0ubuntu0.15.10.1)
      OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)

      The structure of runtime build parameters in the XML API for builds has changed in 1.652

      Retrieving XML for a job using /job/JobName/api/xml?depth=2

      In 1.651 the parameters are returned in the following structure:

      <build>
      <action>
      <parameter>
      <name>PARAM_NAME</name>
      <value>paramvalue</value>
      </parameter>
      </action>
      

      In 1.652 (and 1.653) the parameters are returned in the following structure:

      <build>
      <action>
      <name>PARAM_NAME</name>
      <value>paramvalue</value>
      </action>
      

      The <parameter> part of the output has disappeared. I do not see any reference to this in the changelog so I assume this is a regression and not an intentional change.

          [JENKINS-33546] Regression with build parameters in XML API

          Dominic Bishop created issue -
          Dominic Bishop made changes -
          Environment Original: Jenkins 1.652
          Ubuntu 15.10
          New: Jenkins 1.652
          Ubuntu 15.10

          java version "1.7.0_95"
          OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-0ubuntu0.15.10.1)
          OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
          Daniel Beck made changes -
          Labels New: regression
          Daniel Beck made changes -
          Link New: This issue is related to JENKINS-33605 [ JENKINS-33605 ]
          Daniel Beck made changes -
          Attachment New: Stapler 1.240.png [ 32214 ]
          Attachment New: Stapler 1.239.png [ 32215 ]
          Daniel Beck made changes -
          Priority Original: Major [ 3 ] New: Critical [ 2 ]
          Daniel Beck made changes -
          Assignee New: Kohsuke Kawaguchi [ kohsuke ]
          Daniel Beck made changes -
          Assignee Original: Kohsuke Kawaguchi [ kohsuke ] New: Vivek Pandey [ vivek ]
          Vivek Pandey made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Vivek Pandey made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Astro Ashtar made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            vivek Vivek Pandey
            djb61 Dominic Bishop
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: