我正在尝试通过FTP将应用程序自动部署到服务器。我正在使用通过FTP发布插件。
上传文件按预期工作,但是如果我选择选项“ Clean remore”,则会出现以下错误:
java.lang.StackOverflowError
at java.security.AccessController.doPrivileged(Native Method)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at org.apache.commons.net.ftp.FTPClient._openDataConnection_(FTPClient.java:920)
at org.apache.commons.net.ftp.FTPClient._openDataConnection_(FTPClient.java:785)
at org.apache.commons.net.ftp.FTPClient.initiateMListParsing(FTPClient.java:3437)
at org.apache.commons.net.ftp.FTPClient.mlistDir(FTPClient.java:2543)
at org.apache.commons.net.ftp.FTPClient.mlistDir(FTPClient.java:2530)
at jenkins.plugins.publish_over_ftp.BapFtpClient.delete(BapFtpClient.java:94)
at jenkins.plugins.publish_over_ftp.BapFtpClient.delete(BapFtpClient.java:115)
at jenkins.plugins.publish_over_ftp.BapFtpClient.delete(BapFtpClient.java:95)
at jenkins.plugins.publish_over_ftp.BapFtpClient.delete(BapFtpClient.java:115)
at jenkins.plugins.publish_over_ftp.BapFtpClient.delete(BapFtpClient.java:95)
at jenkins.plugins.publish_over_ftp.BapFtpClient.delete(BapFtpClient.java:115)
有人知道如何使它起作用吗?