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

running script with argument does not work if the script is loaded from master

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • envinject-plugin
    • None
    • Jenkins ver. 1.547
      EnvInject 1.89

      "Script File Path" is set with the full patch of my script (same path on master and slave) with "/pathToFile/ScriptFile args"
      I works fine until I checked "Load script and properties files from the master".
      Then I get:

      [EnvInject] - Keeping Jenkins build variables.
      ERROR: SEVERE ERROR occurs
      org.jenkinsci.lib.envinject.EnvInjectException: Failed to load script from master
      ...
      Caused by: java.io.FileNotFoundException: File '/pathToFile/ScriptFile args' does not exist

      If I remove the argument "args" it works.

          [JENKINS-21396] running script with argument does not work if the script is loaded from master

          There are no comments yet on this issue.

            gbois Gregory Boissinot
            loldrine Laurent Marc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: