Created a simple pipeline job, as follows;

       

      node {
      readFile myFile
      }

       

      where myFile is 'File location' , and received the following error;

      java.nio.file.NoSuchFileException: ...

      If i look in the workspace of the job, the file which was selected as a parameter hasn't bee uploaded into the workspace, this is the bug.

       
       

          [JENKINS-47333] file parameter not working in pipeline job

          yacoub hossain created issue -
          Nahshon Tsameret made changes -
          Comment [ Any update? ]
          Paolo Lambojon made changes -
          Rank New: Ranked higher
          Liam Newman made changes -
          Link New: This issue is related to JENKINS-27413 [ JENKINS-27413 ]
          Liam Newman made changes -
          Link New: This issue duplicates JENKINS-27413 [ JENKINS-27413 ]
          Liam Newman made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            huybrechts huybrechts
            hossaiy yacoub hossain
            Votes:
            20 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved: