【发布时间】:2020-06-19 06:07:52
【问题描述】:
当我使用 Ant 在 Eclipse 上构建我的项目时,它可以工作。但是当我使用 Jenkins 时,我遇到了这个错误:
Problem: failed to create task or type thrift
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.
我发现它一定是因为一个外部 jar:ant-contrib-1.0b3.jar,它丢失了。在 Eclipse 上,我配置了 window/preferences/ant/runtime 并添加了我的外部 jar,但我不知道如何使用 Jenkins。
你知道我可以在配置的哪个位置添加这个 jar 吗?
提前致谢
【问题讨论】: