-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
Summary
After creating a node I can see it is attempting to execute the following command and failing with the error "Unable to access jarfile remoting.jar"
cd "D:\Jenkins" && java -jar remoting.jar -workDir D:\Jenkins\ -jar-cache D:\Jenkins/remoting/jarCache'.
This is failing as cd does not change the drive.
It should be cd /d "D:\Jenkins".
Reproduction steps
Install jenkins on a drive other than the C:
- Go to Manage Jenkins -> Manage Nodes and Clouds
- Click + New Node
- Fill in the details and select Launch agents via SSH
- Click Save
- Inspect the log for the node