Ant 1.9.3和jenkins 1_539安装问题

时间:2014-03-21 15:18:36

标签: ant jenkins

我正在尝试使用ant为genlab中安装的项目添加构建作业。对于jenkins中的ant安装,我选择从apache和版本1.9.3安装,我配置jenkins从git获取master分支,这很好用,但是当我尝试构建项目时,我有这个错误:

  

hudson.util.IOException2:无法将http://archive.apache.org/dist/ant/binaries/apache-ant-1.9.3-bin.zip安装到/root/.jenkins/tools/hudson.tasks.Ant_AntInstallation/ant1.9.3       在hudson.FilePath.installIfNecessaryFrom(FilePath.java:769)       在hudson.tools.DownloadFromUrlInstaller.performInstallation(DownloadFromUrlInstaller.java:70)       在hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61)       在hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107)       在hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:204)       在hudson.tasks.Ant $ AntInstallation.forNode(Ant.java:375)       在hudson.tasks.Ant.perform(Ant.java:151)       在hudson.tasks.BuildStepMonitor $ 1.perform(BuildStepMonitor.java:20)       在hudson.model.AbstractBuild $ AbstractBuildExecution.perform(AbstractBuild.java:781)       在hudson.model.Build $ BuildExecution.build(Build.java:199)       在hudson.model.Build $ BuildExecution.doRun(Build.java:160)       在hudson.model.AbstractBuild $ AbstractBuildExecution.run(AbstractBuild.java:562)       在hudson.model.Run.execute(Run.java:1679)       在hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)       在hudson.model.ResourceController.execute(ResourceController.java:88)       在hudson.model.Executor.run(Executor.java:230)   引起:hudson.util.IOException2:解包http://archive.apache.org/dist/ant/binaries/apache-ant-1.9.3-bin.zip失败(934字节读取总数934)       在hudson.FilePath.installIfNecessaryFrom(FilePath.java:763)       ......还有15个   引起:java.util.zip.ZipException:archive不是ZIP存档

任何人都可以告诉我这个或者在jenkins上安装ant的替代方法。

0 个答案:

没有答案