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

uploading files doesn't work on multi-matrix project

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • matrix-project-plugin
    • None
    • Platform: All, OS: All

      Uploading files doesn't work on my project.

      The project created by multi-matrix has jobs work on 3 slaves and master.
      This is simple project.

      • checked Parameterized Build
      • add parameter [file]
      • file is named "file"
      • matrix
      • checked all nodes or labels

      Run job and upload file.
      Some nodes report errors.

      FATAL: null
      java.lang.NullPointerException
      at hudson.model.FileParameterValue$1.setUp(FileParameterValue.java:71)
      at hudson.model.Build$RunnerImpl.doRun(Build.java:127)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:375)
      at hudson.model.Run.run(Run.java:1120)
      at hudson.matrix.MatrixRun.run(MatrixRun.java:130)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:123)

      Master nodes too.

          [JENKINS-4725] uploading files doesn't work on multi-matrix project

          tosik added a comment -

          Version is 1.329

          tosik added a comment - Version is 1.329

          I also get this in jenkins 1.409.

          The FileParameterValue class clears the file field (in the setUp method of the BuildWrapper), thus preventing the same parameter to be used in multiple subbuilds.

          Willem Verstraeten added a comment - I also get this in jenkins 1.409. The FileParameterValue class clears the file field (in the setUp method of the BuildWrapper), thus preventing the same parameter to be used in multiple subbuilds.

            Unassigned Unassigned
            tosik tosik
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: