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

Rebuild plugin can't rebuild when using parameters specified by copyartifact

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: rebuild-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.461, copyartifact 1.21, rebuild 1.10
    • Similar Issues:

      Description

      When choosing to do a rebuild of a build that used a copyartifact parameter, the following exception is raised:

      java.lang.IllegalArgumentException: Failed to instantiate class hudson.plugins.copyartifact.BuildSelector from

      {"name":"SOURCE_BUILD","value":"<SpecificBuildSelector><buildNumber>122<\/buildNumber><\/SpecificBuildSelector>"}

      at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:633)
      at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:377)
      at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:373)
      at hudson.plugins.copyartifact.BuildSelectorParameter.createValue(BuildSelectorParameter.java:68)
      at com.sonyericsson.rebuild.RebuildAction.doConfigSubmit(RebuildAction.java:186)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      (additional stack track removed)

      Downgrading to rebuild 1.09 resolved the problem.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jswager1 Jason Swager
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: