简体   繁体   English

jenkins:github插件安装:停留在SCM API插件安装

[英]jenkins: github plugin install: stuck at SCM API Plugin install

I am trying to install GitHub plugin on a freshly installed Ubuntu 14.04 system with Jenking 1.605 running on it. 我试图在运行Jenking 1.605的新安装的Ubuntu 14.04系统上安装GitHub插件。

GitHub Plugin installation process is able to download "GitHub API Plugin" and "Git Client Plugin" but it is stuck now at "SCM API Plugin" at Pending state. GitHub插件安装过程能够下载“ GitHub API插件”和“ Git客户端插件”,但现在处于“待处理”状态,停留在“ SCM API插件”。 I check the log file and I don't see any anomaly there. 我检查了日志文件,但没有看到任何异常。

INFO: Starting the installation of GitHub API Plugin on behalf of anonymous INFO:代表匿名用户开始安装GitHub API插件
Mar 18, 2015 5:35:05 AM hudson.model.UpdateCenter$UpdateCenterConfiguration download 2015年3月18日5:35:05 hudson.model.UpdateCenter $ UpdateCenterConfiguration下载
INFO: Downloading GitHub API Plugin 信息:下载GitHub API插件
Mar 18, 2015 5:35:06 AM hudson.model.UpdateCenter$DownloadJob run 2015年3月18日5:35:06 hudson.model.UpdateCenter $ DownloadJob运行
INFO: Starting the installation of Git Client Plugin on behalf of anonymous INFO:代表匿名开始安装Git Client插件
Mar 18, 2015 5:35:07 AM hudson.model.UpdateCenter$UpdateCenterConfiguration download 2015年3月18日5:35:07 hudson.model.UpdateCenter $ UpdateCenterConfiguration下载
INFO: Downloading Git Client Plugin INFO:下载Git客户端插件
Mar 18, 2015 5:35:11 AM hudson.model.UpdateCenter$DownloadJob run 2015年3月18日5:35:11 hudson.model.UpdateCenter $ DownloadJob运行
INFO: Starting the installation of SCM API Plugin on behalf of anonymous INFO:代表匿名开始安装SCM API插件

Your help is greatly appreciated! 非常感谢您的帮助!

Thanks in Advance - J 在此先感谢-J

This is how I fixed it: 这是我解决的方法:

  1. restart jenkins to stop the crashed installation (add /restart to the adress bar - ie http://localhost:8080/restart ) 重新启动jenkins以停止崩溃的安装(将/ restart添加到地址栏-即http:// localhost:8080 / restart
  2. download the SCM API plugin separately ( https://wiki.jenkins-ci.org/display/JENKINS/SCM+API+Plugin ) - get .hpi file 单独下载SCM API插件( https://wiki.jenkins-ci.org/display/JENKINS/SCM+API+Plugin)-获取.hpi文件
  3. install manually from Jenkins (Manage Jenkins -> Manage Plugins -> Advanced -> Upload Plugin) You can do the same with the git and github plugins if you encounter additional problems. 从Jenkins手动安装(管理Jenkins->管理插件->高级->上传插件)如果遇到其他问题,可以对git和github插件执行相同操作。

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

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