mydep] $ /var/jenkins_home/tools/hudson.tasks.Ant_AntInstallation/Ant/bin/ant deploy
Buildfile: /var/jenkins_home/workspace/mydep/build.xml
[taskdef] Could not load definitions from resource /Users/mannesiddhardha/.ant/lib/antlib.xml. It could not be found.
deploy:
BUILD FAILED
/var/jenkins_home/workspace/mydep/build.xml:12: Problem: failed to create task or type antlib:com.salesforce:deploy
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet
This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-/var/jenkins_home/tools/hudson.tasks.Ant_AntInstallation/Ant/lib
-/var/jenkins_home/.ant/lib
-a directory added on the command line with the -lib argument
-1
A
回答
0
将Antlib.jar文件添加到Ant_Home/lib文件夹并再次尝试。
+0
我的ANT_HOME/lib中有antlib.xml,并且有一些jar文件,但是我还没有找到任何antlib.jar。 – siddhardha
+0
我需要手动下载并放置它吗? – siddhardha
+0
相关问题
- 1. 打造蚂蚁詹金斯
- 2. Junit蚂蚁詹金斯ClassNotFoundException
- 3. 从詹金斯运行蚂蚁
- 4. 使用蚂蚁与詹金斯创建战争时的问题
- 5. 詹金斯每晚部署
- 6. 詹金斯不会构建我的蚂蚁项目
- 7. 詹金斯 - 传播系统属性到蚂蚁任务
- 8. 如何在蚂蚁或詹金斯中组织测试序列
- 9. 蚂蚁/詹金斯:搬不支持“安静”属性
- 10. 詹金斯用户的授权部署
- 11. 与詹金斯
- 12. OpenShift部署,詹金斯失败
- 13. 詹金斯和AWS Elasctic青苗部署
- 14. 詹金斯构建和部署
- 15. TeamCity部署到Tomcat与蚂蚁失败
- 16. 蚂蚁部署问题
- 17. Liferay蚂蚁部署失败
- 18. 蚂蚁部署问题
- 19. 如何将我的选择参数值传给蚂蚁在詹金斯
- 20. 检查部署到应用服务器与詹金斯
- 21. 蚂蚁搬家,詹金斯映射驱动器上复制任务失败
- 22. 詹金斯蚂蚁插件有错误值$ {user.dir来}工作目录
- 23. 詹金斯构建与java.lang.InterruptedException
- 24. 詹金斯与NUnit测试
- 25. 如何与詹金斯
- 26. 与詹金斯管道
- 27. 詹金斯整合与Auth0
- 28. 集成詹金斯与git
- 29. GIT整合与詹金斯
- 30. PSEXEC退出与詹金斯
是否设置了“ANT_HOME”? – Rao
我在我的Mac上安装了Ant“brew install Ant” – siddhardha
当我查看“env”时,我还没有找到ant ANT_HOME路径。 – siddhardha