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

Unable to read text file which is placed in shared drive/local desktop

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Not A Defect
    • other
    • None

    Description

      I have a requirement to read a text file which is located on a shared drive and execute the UFT test cases based on the condition. I tried a groovy script to read the text file, but it gives an error message file not found.

      Can anyone help me who to read text(located on a shared drive or in my local desktop) file?

      Please find the error message below,
      The system cannot find the file specified
      FATAL: command execution failed
      java.io.IOException
      : Cannot run program "groovy" (in directory): CreateProcess error=2, The system cannot find the file specified
      at java.lang.ProcessBuilder.start(Unknown Source)
      at hudson.Proc$LocalProc.<init>(Proc.java:240)

      Attachments

        Activity

          People

            Unassigned Unassigned
            ranganath Ranganath Nagaraj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: