Has the TFS plugin for Jenkins been removed?

折月煮酒 提交于 2021-01-28 11:26:51

问题


I have been using Jenkins with the TFS plugin for several years but after installing Jenkins on a new machine, it seems that the TFS plugin cannot be found in the update center. All the other plugins that I could search for seem to work but not TFS, as if it had been deleted from there. I have tried using both jenkins-lts and jenkins weekly on two separate machines (both macs).

This is the plugin I am talking about: https://github.com/jenkinsci/tfs-plugin

The old wiki page for it also seems to have been removed (I get a HTTP 403 Forbidden reply when trying to access that): http://wiki.jenkins-ci.org/display/JENKINS/Team+Foundation+Server+Plugin and the newer plugin index doesn't seem to know about this plugin: https://plugins.jenkins.io/

I have tried to look on the Jira issue tracker but couldn't find anything that seemed relevant.

Could anyone assist?


回答1:


Okay so after struggling with this for a while, I figured out what had happened.

There was a security issue for the TFS plugin that hasn't been fixed: https://www.jenkins.io/security/advisory/2020-09-01/#SECURITY-1506

On top of that, it was found that the TFS SDK that is bundled with the plugin is not open source, which goes against Jenkins policy (see INFRA-2751 for more details).

This means that the plugin has been removed from the update center in this commit at the end of October 2020.

If the security issue is acceptable, the plugin can still be installed by downloading the .hpi from Github and then manually install the plugin in Jenkins: Manage Jenkins > Manage Plugins > Advanced > Upload Plugin and select the plugin file downloaded previously.

Thanks to the people on Jenkins Gitter that reminded me of the security issue as well as @ian-w on here that pointed at the actual problem.

Edit: I edited my answer to include Ian's comment.



来源:https://stackoverflow.com/questions/64897029/has-the-tfs-plugin-for-jenkins-been-removed

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!