从mac终端激活Jenkins的节点代理,未连接获取该输出

jogvjijk  于 2023-05-06  发布在  Jenkins
关注(0)|答案(1)|浏览(139)

知道是什么引起的吗

Exception in thread "main" java.nio.file.FileSystemException: /remoting: Read-only file system
    at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:100)
    at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
    at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
    at java.base/sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:389)
    at java.base/java.nio.file.Files.createDirectory(Files.java:690)
    at java.base/java.nio.file.Files.createAndCheckIsDirectory(Files.java:797)
    at java.base/java.nio.file.Files.createDirectories(Files.java:783)
    at org.jenkinsci.remoting.engine.WorkDirManager.initializeWorkDir(WorkDirManager.java:211)
    at hudson.remoting.Launcher.run(Launcher.java:321)
    at hudson.remoting.Launcher.main(Launcher.java:297)
oug3syen

oug3syen1#

你可以设置一个自定义的工作目录:java -jar agent.jar -workDir ~/Jenkins

相关问题