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

"java -jar agent.jar -url" doesn't use current directory by default anymore

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • remoting
    • None

      Jenkins 2.426.3 LTS

      Remoting 3206.vb_15dcf73f6a_9

      Jenkins Linux host to Windows agent where Jenkins not running as a service on agent

       

      The command "java -jar agent.jar -url URL -name NAME -secret SECRET" gives a warning

      WARNING: No Working Directory. Using the legacy JAR Cache location

       

      The command "java -jar agent.jar -jnlpUrl URL/computer/NAME/jenkins-agent.jnlp -secret SECRET" does not give this warning

            jthompson Jeff Thompson
            alexsch01 Alex
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: