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

file parameter not working in pipeline job

XMLWordPrintable

      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.

       
       

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

              Created:
              Updated:
              Resolved: