mysql - Mac Gerrit 设置

标签 mysql macos jenkins gerrit

尝试在还安装了 Jenkins 的 Mac 上安装 Gerrit。到目前为止:

  • 已成功通过 Brew 安装 MySQL。
  • 将 Gerrit 的用户和数据库添加到 MySQL。
  • 来自 https://gerrit-releases.storage.googleapis.com/index.html 的 gerrit.war 的 D/l
  • 将 gerrit.war 安装到 ~/Applications/Gerrit
  • 在 gerrit.config 中将 canonicalWebUrl 设置为 http://localhost:8080/gerrit/
  • 使用 ~/Applications/Gerrit/bin/gerrit.sh restart 重新启动 Gerrit

但是重启失败。似乎没有一致的 Mac Gerrit 设置指南,我觉得我陷入了这个问题。

Gerrit error_log 说:

ERROR com.google.gerrit.pgm.Daemon : Unable to start daemon
java.lang.IllegalStateException: Cannot start HTTP daemon

有人在 Mac 上运行此配置并可以给我一些帮助吗?

最佳答案

on a Mac that has also Jenkins installed

最有可能的原因是 Jenkins 已经在同一端口 (8080) 上运行。尝试将 Gerrit 的 canonicalWebUrl 更改为另一个端口(或更改 Jenkins 的端口)。

关于mysql - Mac Gerrit 设置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46088820/

相关文章:

jenkins - 在 Docker 容器中使用 Jenkins 运行测试

mysql - phpMyAdmin 无法正确显示或插入 Unicode 字符到数据库中

javascript - 单击编辑按钮时将表的数据行值显示到文本框并将其保存到数据库

sql-server - 如何将 .bacpac 导入 docker Sqlserver?

python-3.x - 无法pip3安装mysqlclient

security - Jenkins 构建不会在 OWASP 依赖检查器发现漏洞的管道阶段失败

mysql - sql语句中列的顺序会影响查询速度吗?

mysql - 在 mysql datetime 和 python timestamp 之间转换的正确方法是什么?

python - 找不到已安装的 pip 包

Jenkins 问题: hudson. remoting.ChannelClosedException: channel 已关闭