我想修改一个名为 Files Found Trigger 的 jenkins 插件。但是当我从github下载源代码之后,我发现有很多行以 import hudson.XXX
开头。而且我不知道在哪里可以获得 hudson 图书馆。
我想也许我可以在 Jenkins Plugin Tutorial 找到一些信息。但教程似乎没有提到从哪里获取该库。
有人可以帮忙吗?
最佳答案
来自here (Upgrading from Hudson to Jenkins) :
Jenkins is basically a drop-in replacement to Hudson.
It's the continuation of the same code base, in same package structure. There has been no major surgery since the rename, and the rename really only affected what's shown in the UI. As such, it understands the same set of environment variables, same system properties, and the same information in the home directory. So if you rename
jenkins.war
ashudson.war
, and simply overwrite yourhudson.war
, the upgrade is complete.
- 所以我的结论是:只需将
hudson
重命名为jenkins
。
关于java - hudson 库在哪里下载?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42225586/