Unable to install ANT on slave

142 views
Skip to first unread message

Eric Wood

unread,
Jun 1, 2015, 4:16:46 PM6/1/15
to Jenkinsci-users
I had a slave on a windows box running as a service.  This slave kept failing on an ANT installation with the error:

Unpacking http://archive.apache.org/dist/ant/binaries/apache-ant-1.9.4-bin.zip to E:\tools\jenkins\tools\hudson.tasks.Ant_AntInstallation\1.9.4 on build.03
FATAL: remote file operation failed: E:\tools\jenkins\tools\hudson.tasks.Ant_AntInstallation\1.9.4\apache-ant-1.9.4 at hudson.remoting.Channel@309d6b84:build.03: java.io.IOException: Failed to rename E:\tools\jenkins\tools\hudson.tasks.Ant_AntInstallation\1.9.4\apache-ant-1.9.4 to E:\tools\jenkins\tools\hudson.tasks.Ant_AntInstallation\1.9.4\apache-ant-1.9.4.__rename
java.io.IOException: remote file operation failed: E:\tools\jenkins\tools\hudson.tasks.Ant_AntInstallation\1.9.4\apache-ant-1.9.4 at hudson.remoting.Channel@309d6b84:build.03: java.io.IOException: Failed to rename E:\tools\jenkins\tools\hudson.tasks.Ant_AntInstallation\1.9.4\apache-ant-1.9.4 to E:\tools\jenkins\tools\hudson.tasks.Ant_AntInstallation\1.9.4\apache-ant-1.9.4.__rename
	at hudson.FilePath.act(FilePath.java:977)
	at hudson.FilePath.act(FilePath.java:959)
	at hudson.FilePath.moveAllChildrenTo(FilePath.java:1944)

I have other slaves running ANT and they work fine.  Not sure why this one is different. They appear to be configured the same.  I gave "Full Control" to "everyone` under the slave's jenkin's file system. I also manually copied over the ANT install under the Jenkins tools folder to the slave but it keeps wanting to install ANT regardless of it being there. In fact the installation look good, it is just giving me this error.

Any thoughts?

Eric
Reply all
Reply to author
Forward
0 new messages