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

CopyArtifact step fails when using ParameterizedBuildSelector class for selecting build

    Details

    • Similar Issues:

      Description

      This is error i got when trying to use copy artifact with build selector parameter. Using last successful is fine.
      java.lang.NullPointerException
      at java.io.StringReader.<init>(StringReader.java:50)
      at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1035)
      at hudson.plugins.copyartifact.BuildSelectorParameter.getSelectorFromXml(BuildSelectorParameter.java:87)
      at hudson.plugins.copyartifact.ParameterizedBuildSelector.getBuild(ParameterizedBuildSelector.java:52)
      at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:354)
      at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:68)
      at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:59)
      at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:49)
      at hudson.security.ACL.impersonate(ACL.java:213)
      at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:47)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:745)
      Finished: FAILURE

        Attachments

          Issue Links

            Activity

            tomaxsas Tomas Zaleniakas created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Component/s copyartifact-plugin [ 15692 ]
            Component/s workflow-plugin [ 18820 ]
            Assignee Jesse Glick [ jglick ]
            Labels workflow
            jglick Jesse Glick made changes -
            Link This issue is blocking JENKINS-24887 [ JENKINS-24887 ]
            ikedam ikedam made changes -
            Link This issue is related to JENKINS-26694 [ JENKINS-26694 ]
            ikedam ikedam made changes -
            Assignee ikedam [ ikedam ]
            ikedam ikedam made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            ikedam ikedam made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 165459 ] JNJira + In-Review [ 209220 ]
            abayer Andrew Bayer made changes -
            Labels workflow pipeline workflow
            abayer Andrew Bayer made changes -
            Labels pipeline workflow pipeline

              People

              • Assignee:
                ikedam ikedam
                Reporter:
                tomaxsas Tomas Zaleniakas
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: