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

Jenkins build API changeset contains duplicated fields

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: perforce-plugin
    • Labels:
      None
    • Environment:
      Windows Server 2008 R2
      Jenkins Winstone
    • Similar Issues:

      Description

      When getting data via the REST API

      job/buildnum/api/json
      or
      job/buildnum/api/xml

      The items in the changeSet contain duplicated fields. This causes the C# serialisation code we are using to throw an exception. Not sure if this is a Core issue or a Perforce Plugin issue so I'll try posting as perforce first.

      "changeSet": {
      "items": [{
      "affectedPaths": ["MS3/code/app/drawtest/testrefimages/basiccombined_gnm.dds",
      "MS3/code/app/drawtest/testrefimages/GRIT_d3dm.dds",
      "MS3/code/app/drawtest/testrefimages/GRIT_d3dr.dds",
      "MS3/code/app/drawtest/testrefimages/GRIT_gnmm.dds",
      "MS3/code/app/drawtest/testrefimages/GRIT_gnmr.dds",
      "MS3/code/app/drawtest/testrefimages/lighting_gnm.dds",
      "MS3/code/app/drawtest/testrefimages/postfx_gnm.dds",
      "MS3/code/app/drawtest/testrefimages/world_gnm.dds",
      "MS3/tools/bin/bob/build_imagetests.xml"],
      "author":

      { "absoluteUrl": "http://nw01-evotools:8080/user/*****", "fullName": "*****" }

      ,
      "commitId": null,
      "msg": "image test images\n\treviewer=*****",
      "timestamp": -1,
      "affectedPaths": ["MS3/code/app/drawtest/testrefimages/basiccombined_gnm.dds",
      "MS3/code/app/drawtest/testrefimages/GRIT_d3dm.dds",
      "MS3/code/app/drawtest/testrefimages/GRIT_d3dr.dds",
      "MS3/code/app/drawtest/testrefimages/GRIT_gnmm.dds",
      "MS3/code/app/drawtest/testrefimages/GRIT_gnmr.dds",
      "MS3/code/app/drawtest/testrefimages/lighting_gnm.dds",
      "MS3/code/app/drawtest/testrefimages/postfx_gnm.dds",
      "MS3/code/app/drawtest/testrefimages/world_gnm.dds",
      "MS3/tools/bin/bob/build_imagetests.xml"],
      "author":

      { "absoluteUrl": "http://nw01-evotools:8080/user/*****", "fullName": "*****" }

      ,
      "changeNumber": "21754",
      "changeTime": "2012-07-06 11:08:34",
      "msg": "image test images\n\treviewer=*****"
      }],
      "kind": null
      },

      Thanks

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Rob Petti
          Path:
          src/main/java/hudson/plugins/perforce/PerforceChangeLogEntry.java
          http://jenkins-ci.org/commit/perforce-plugin/b2063692fb3a53792831f6a8e0acd6fee86eaef2
          Log:
          [FIXED JENKINS-14335] removing redundant exports

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Rob Petti Path: src/main/java/hudson/plugins/perforce/PerforceChangeLogEntry.java http://jenkins-ci.org/commit/perforce-plugin/b2063692fb3a53792831f6a8e0acd6fee86eaef2 Log: [FIXED JENKINS-14335] removing redundant exports

            People

            • Assignee:
              rpetti Rob Petti
              Reporter:
              richardtaylor Richard Taylor
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: