当前位置:网站首页>IDEA集成Gerrit插件
IDEA集成Gerrit插件
2022-07-16 05:41:00 【苹果树上的你】
IDEA集成Gerrit
Gerrit是一个代码托管平台,与gitee、gitlab相似,但是具有代码审核功能,在devops、代码质量管控方面比较有用,本文介绍开发工具IDEA如何集成Gerrit。
基础环境
IDEA,版本IntelliJ IDEA 2020.2.4
Git,git version 2.33.1
Gerrit,安装版本gerrit-3.1.2.war
安装Gerrit
File -> Settings -> Plugins,搜索Gerrit,如果没有安装,就选择install,安装完成后重启IDEA

配置Gerrit
File -> Settings -> Version Control,输入Gerrit web-ui登录地址以及账号密码

测试连接

如果出现401或者RestApiExcetion等,去gerrit的安装服务器上,修改gerrit.config文件,将localhost或127.0.0.1等配置替换为服务器ip,然后重启gerrit

[gerrit] basePath = /gerrit/gerrit_repo canonicalWebUrl = http://192.168.1.161:8081 serverId = f3d5003a-aee7-4762-9f66-405d555ca2ec [container] javaOptions = "-Dflogger.backend_factory=com.google.common.flogger.backend.log4j.Log4jBackendFactory#getInstance" javaOptions = "-Dflogger.logging_context=com.google.gerrit.server.logging.LoggingContext#getInstance" user = root javaHome = /data/server/jdk/jre [index] type = lucene [auth] type = HTTP [receive] enableSignedPush = false [sendemail] smtpServer = smtp.163.com smtpServerPort = 25 smtpUser = [email protected] [sshd] listenAddress = *:29418 [httpd] listenUrl = proxy-http://*:8081/ [cache] directory = cache [plugins] allowRemoteAdmin = true
边栏推荐
- LeetCode:735. Planetary collision - medium
- 【边缘部署 AI】
- Go-Excelize API源码阅读(一)——NewFile()
- XGBoostError: [10:19:14] C:\dev\libs\xgboost\src\objective\objective. cc:23:
- 认识多银行资金系统(二)---------今日首页
- 我为 TDengine “带盐”!“高价”招募出镜开发者
- C&W(Carlini & Wagner)
- Desai wisdom number - histogram (positive and negative bar graph): expectation & actual salary of 2022 graduates in different cities
- Arm64 Galaxy Kirin desktop system V10 (SP1) markdown editor retext replaces typora
- DataX extension vertica plug-in
猜你喜欢

7-redis architecture design to use scenarios - cache penetration, cache avalanche, cache preheating, cache degradation

Codeforces Round #803 (Div. 2) C. 3SUM Closure

HMS core graphics and image technology shows the latest functions and application scenarios, and accelerates the construction of digital intelligence life

Codeforces Global Round 21 B. NIT Destroys the Universe

刷题笔记-排序

二进制搭建 Kubernetes

【AI芯片CAISA】

Kotlin | 为 Kotlin 编译器任务推出构建报告

HMS Core图形图像技术展现最新功能和应用场景,加速构建数智生活

ViewGroup事件分发梳理
随机推荐
指针常量与常量指针
IO会一直占用CPU吗?一个很好的关于并发/并行系统的问题(转)
Basic use of Anaconda
Codeforces Global Round 21 D. Permutation Graph
二进制搭建 Kubernetes
Points clés pour la mise à niveau du firmware d'aegnus air820ug
降级机制设计不当,线上系统瞬间崩溃...
HMS Core图形图像技术展现最新功能和应用场景,加速构建数智生活
第5章 网络通信实战
Tens of billions of data were compressed to 600gb, and tdengine was launched on GCL energy mobile energy platform
altium designer原理图生成pcb
[pytorch quantitative practice (1)]
5. Redis architecture design to usage scenario - storage principle - data type infrastructure
认识多银行资金系统(三)-------直联设置、信息权限和系统参数设置
Tomato学习笔记-Vscode配置Makefile(使用task.jason和launch.jason)
刷题笔记-排序
Nacos win10 single machine start command
Pointer constant and constant pointer
Understanding multi bank fund system (III) -- direct connection setting, information authority and system parameter setting
nn. Gru() use