jenkins-zh / jenkins-formulas

Jenkins custom formulas

Home Page:https://www.jenkins-zh.cn/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

下载的jenkins 2.231安装插件error

lczaxx opened this issue · comments

出现一个错误
安装过程中出现一个错误: No such plugin: antisamy-markup-formatter

commented

是通过 docker 来启动的,还是 jenkins.war 呢?

commented

是启动的 jenkins-zh.war 还是其他由本项目提供的定制版本,还是没有定制过的呢。尽量把信息给全了,不然,很难让其他人复现问题并解决问题。

image
这个是我下载的war包

commented

环境:

  • openjdk 11.0.3 2019-04-16
  • macOS 10.15.2

下面是我的操作步骤:

wget http://dl.bintray.com/jenkins-zh/generic/jenkins/2.231/jenkins-zh.war
java -jar jenkins-zh.war

下面是通过界面安装插件 antisamy-markup-formatter 的控制台日志:

2020-04-30 03:02:16.326+0000 [id=135]	INFO	h.model.UpdateCenter$DownloadJob#run: Starting the installation of antisamy-markup-formatter on behalf of admin
2020-04-30 03:02:18.919+0000 [id=135]	INFO	h.m.UpdateCenter$UpdateCenterConfiguration#download: Downloading antisamy-markup-formatter
2020-04-30 03:02:25.961+0000 [id=135]	INFO	h.model.UpdateCenter$DownloadJob#run: Installation successful: antisamy-markup-formatter
2020-04-30 03:02:25.961+0000 [id=135]	INFO	h.m.UpdateCenter$CompleteBatchJob#run: Completing installing of plugin batch…
2020-04-30 03:02:26.020+0000 [id=137]	INFO	jenkins.InitReactorRunner$1#onAttained: Started initialization
2020-04-30 03:02:26.021+0000 [id=141]	INFO	jenkins.InitReactorRunner$1#onAttained: Listed all plugins
2020-04-30 03:02:26.022+0000 [id=146]	INFO	jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
2020-04-30 03:02:26.023+0000 [id=151]	INFO	jenkins.InitReactorRunner$1#onAttained: Started all plugins
2020-04-30 03:02:26.024+0000 [id=156]	INFO	jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
2020-04-30 03:02:26.024+0000 [id=159]	INFO	jenkins.InitReactorRunner$1#onAttained: System config loaded
2020-04-30 03:02:26.025+0000 [id=141]	INFO	jenkins.InitReactorRunner$1#onAttained: System config adapted
2020-04-30 03:02:26.025+0000 [id=141]	INFO	jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
2020-04-30 03:02:26.025+0000 [id=141]	INFO	jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
2020-04-30 03:02:26.025+0000 [id=157]	INFO	jenkins.InitReactorRunner$1#onAttained: Completed initialization
2020-04-30 03:02:26.026+0000 [id=135]	INFO	h.m.UpdateCenter$CompleteBatchJob#run: Completed installation of 1 plugins in 9.7 sec

插件安装成功重启 Jenkins 后,也能看到该插件是存在的。
我不清楚您用的什么什么中间件,但是我上面的步骤是可以正常安装插件的。

commented

@lczaxx 你的邮件直接回复有问题,带出来很多格式错乱的内容,麻烦后面在 GitHub 上直接回复,或者找个其他的邮件客户端回复。
现在有两个疑问:

  • 有些插件可以安装,是哪些有问题,哪些没问题

重启 Jenkins 没起来,这句话我没看懂具体是什么意思。