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. 使用螞蟻與詹金斯創建戰爭時的問題
- 3. 螞蟻/詹金斯:搬不支持「安靜」屬性
- 4. 與詹金斯
- 5. OpenShift部署,詹金斯失敗
- 6. 詹金斯和AWS Elasctic青苗部署
- 7. 螞蟻部署問題
- 8. Liferay螞蟻部署失敗
- 9. 檢查部署到應用服務器與詹金斯
- 10. 螞蟻搬家,詹金斯映射驅動器上覆制任務失敗
- 11. 詹金斯螞蟻插件有錯誤值$ {user.dir來}工作目錄
- 12. 詹金斯構建與java.lang.InterruptedException
- 13. 如何與詹金斯
- 14. 與詹金斯Selenium WebDriver
- 15. PSEXEC退出與詹金斯
- 16. 與詹金斯管道
- 17. GIT整合與詹金斯
- 18. 螞蟻部署到jar文件
- 19. 螞蟻部署Windows生成清單SVN
- 20. 詹金斯 - j_acegi_security_check
- 21. 對詹金斯
- 22. 詹金斯:java.io.NotSerializableException:groovy.util.slurpersupport.NodeChild
- 23. 在詹金斯
- 24. 與螞蟻JARring
- 25. 自動帽上部署一個成功的詹金斯建立
- 26. 與詹金斯PhpUnit。在終端上用螞蟻建造好。但錯誤時自動化
- 27. 與Tomcat的安裝詹金斯後管理詹金斯沒有顯示
- 28. 碼頭羣,詹金斯,持續集成和部署
- 29. 詹金斯部署網站Azure平臺即服務
- 30. 部署春季引導戰爭詹金斯
是否設置了「ANT_HOME」? – Rao
我在我的Mac上安裝了Ant「brew install Ant」 – siddhardha
當我查看「env」時,我還沒有找到ant ANT_HOME路徑。 – siddhardha