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

Error: Unable to access jarfile remoting.jar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • remote-file-plugin
    • None
    • Windows 10 Jenkins 2.249.3

      I was able to connect to Remote Agent; I accidentally removed remote work directory, I guess I must have remove the remoting.jar file.

      This is the first time I tested, so if there is anyway to re-create the remoting.jar file or recreating the whole thing to bypass the following error

      11/18/20 18:02:04] [SSH] Starting sftp client.
      [11/18/20 18:02:04] [SSH] Copying latest remoting.jar...
      Source agent hash is D866F0B482DB94F38E49B26B465D5DB5. Installed agent hash is D866F0B482DB94F38E49B26B465D5DB5
      Verified agent jar. No update is necessary.
      Expanded the channel window size to 4MB
      [11/18/20 18:02:40] [SSH] Starting agent process: . /var/dbb/conf/gitenv.sh cd "/u/rxyz/Jenkins-PC" && /usr/lpp/java/J8.0_64/bin/java -jar remoting.jar -workDir /u/rxyz/tmp -jar-cache /u/rxyz/tmp/remoting/jarCache-text
      Error: Unable to access jarfile remoting.jar
      Agent JVM has terminated. Exit code=1
      [11/18/20 18:02:40] Launch failed - cleaning up connection
      [11/18/20 18:02:40] [SSH] Connection closed.

       

            raylamjenkins Ray Lam
            raylamjenkins Ray Lam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: