简体   繁体   English

Jenkins默认插件不可用

[英]Jenkins default plugins are not available

I tried to install plugins from jenkins web interface and using command line as well. 我试图从jenkins Web界面安装插件,也尝试使用命令行。 I am failed on both: 我都失败了:

  1. After installing jenkins-1.429-1.1.noarch.rpm, when I go to manage plugins and search in available plugins like phpcpd: pdepend: phpcs:phpdoc:phploc: but those plugins are not available in the list. 安装jenkins-1.429-1.1.noarch.rpm后,当我去管理插件并搜索可用的插件(例如phpcpd)时:pdepend:phpcs:phpdoc:phploc :,但是这些插件在列表中不可用。 So strange. 这么奇怪。

    When I try to create build , I get error like http://pastie.org/2516863 当我尝试创建build时,出现类似http://pastie.org/2516863的错误

  2. On the top of that I manually try to install the plugins with command java -jar jenkins-cli.jar -s http://localhost:8080 install-plugin checkstyle 最重要的是,我手动尝试使用命令java -jar jenkins-cli.jar -s http:// localhost:8080 install-plugin checkstyle安装插件

, but unfortunately, I get error like Failed to authenticate with your SSH keys. ,但不幸的是,我收到诸如无法通过您的SSH密钥进行身份验证之类的错误。 Proceeding with anonymous access Installing checkstyle from update center 进行匿名访问从更新中心安装Checkstyle

Can somebody suggest me why I am missing default plugins in jenkins and also why I am getting such ssh authentication error from command line. 有人可以建议我为什么我在jenkins中缺少默认插件,以及为什么我从命令行中收到这样的ssh身份验证错误。

I am looking forward to solve this issue sooner! 我期待着早日解决这个问题!

Thanks in advance! 提前致谢!

Those php related plugins don't come with jenkins, we need to install them manually. 这些与php相关的插件不是jenkins随附的,我们需要手动安装它们。 In case of redhat, I followed following process to install the plugins: 对于redhat,我按照以下过程安装插件:

yum search plugin_name yum install plugin name yum search plugin_name yum安装插件名称

how to install phpunit? 如何安装phpunit? it is different from previous method: pear channel-discover pear.phpunit.de pear install phpunit/PHPUnit 它与以前的方法不同:pear通道-发现pear.phpunit.de pear安装phpunit / PHPUnit

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM