file parameter issue in jenkins pipeline

XMLWordPrintable

      Hello,

       

      I have created a pipleine job with file parameter. When I try to upload file through curl the file is not getting uploaded. When checked in build page parameters clicking on file parameter name it is giving below error. The same command runs for freestyle job and working good,

       

      java.lang.NullPointerException at hudson.model.FileParameterValue.doDynamic(FileParameterValue.java:205) at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117) at org.kohsuke.stapler.MetaClass$11.dispatch(MetaClass.java:397) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)

       

      Thanks.

            Assignee:
            Unassigned
            Reporter:
            kailash joshi
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: